home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / misc / tcpgid.arj / TCPIP.DOC
Text File  |  1993-08-05  |  104KB  |  2,404 lines

  1. Comments:     Warning -- original Sender: tag was NETNEWS@AUVM.AMERICAN.EDU
  2. From:         Dean Pentcheff <dean2@BIGBIRD.CSD.SCAROLINA.EDU>
  3. Organization: Univ. of South Carolina, Columbia
  4.  
  5. Subject:      Getting started with OS/2 networking using IBM's TCP/IP software
  6.  
  7. Document: ftp-os2.cdrom.com:pub/os2/2_x/network/tcpstart.txt
  8.        or: ftp-os2.nmsu.edu:os2/2_x/network/tcpstart.txt
  9.  
  10.  Guide to getting started with OS/2 networking using IBM's TCP/IP software
  11.  
  12.   Recent Changes
  13.  
  14.  Aug 03 1993 Added 3c503 Netware+TCP/IP sample files from Roger de Reus.
  15.              Added Appendix III on LaMail (thanks R. Walker!).
  16.              Changed directories for CSDs, made fixes to unpacking hints.
  17.              Added section on useful software to download.
  18.  Feb 28 1993 Fixed advice for routed, FTP security (thanks, Andre Asselin!).
  19.              Added some tuning ideas.  Added lprmon BUFSIZE caution.
  20.  Feb 22 1993 Fixed phone numbers, added SLIP appendix.  Fixed year to 1993!
  21.  Feb 02 1993 Added Netware appendix, tuning hints, other hints and insertions.
  22.  
  23.   Table of Contents (find sections by searching for the parenthesized number)
  24.  
  25.  (0) Purpose and introduction
  26.  (1) Request for more information
  27.  (2) Some terminology
  28.  (3) Selecting parts of the IBM TCP/IP packages
  29.  (4) Preparing to hook up to a TCP/IP network
  30.  (5) Installing IBM's TCP/IP Package
  31.  (6) Installing the driver for the network adapter
  32.  (7) Initial tryout
  33.  (8) Downloading CSDs (bug fixes)
  34.  (9) A few reminders
  35.  (10) Security concerns
  36.  (11) Tuning your setup
  37.  (12) Interesting TCP/IP software you can download
  38.  (13) Good luck
  39.  (A1) Appendix I: Coexistence of TCP/IP with Netware
  40.  (A2) Appendix II: Supplementary information on SLIP
  41.  (A3) Appendix III: Setting up LaMail
  42.  
  43.  
  44.  ----------------------------
  45.  (0) Purpose and introduction
  46.  ----------------------------
  47.  
  48.  The purpose of this document is to:
  49.  
  50.  1) Orient someone who has heard a bit about networking on OS/2, but
  51.  can't yet hold an entire conversation in three to five letter
  52.  networking acronyms ("So, Bob, how's TCP/IP coming along today?" "Well,
  53.  Jane, NFS if fine, but I'm having trouble with FTP."  "Have you
  54.  installed the CSDs?"  "Yes, but can you ping over SLIP before sending a
  55.  job to LPD?"....).
  56.  
  57.  2) Help a new networker install the IBM TCP/IP networking package and
  58.  some of its more popular additional modules.
  59.  
  60.  
  61.  I'm no networking pro, but I've managed to start a working network
  62.  system using OS/2 and IBM's TCP/IP offerings.  It took me long enough
  63.  to sort it all out.  I hope I can save someone else the trouble.
  64.  
  65.  I make no guarantees that the following is entirely correct!  It's
  66.  based on my experiences.  PLEASE correct me by mailing me your comments
  67.  if you find anything misleading or wrong.  Please send me additional
  68.  hints based on your own experiences that you feel would be helpful to
  69.  put into this document.
  70.  
  71.  -Dean
  72.  --
  73.  N. Dean Pentcheff
  74.  Biological Sciences, Univ. of South Carolina, Columbia SC 29208 (803-777-8998)
  75.  Internet addresses: pentcheff@pascal.acm.org or dean2@tbone.biol.scarolina.edu
  76.  
  77.  
  78.  --------------------------------
  79.  (1) Request for more information
  80.  --------------------------------
  81.  
  82.  Please let me know of improvements I can make to this document!
  83.  Notable gaping holes that I notice (hint, hint) are:
  84.  
  85.  1) Performance tuning - success stories and failure stories are
  86.  both equally welcome.
  87.  
  88.  2) Other useful network software - surely some net.geeks have some
  89.  nifty utilities and addons that make a networked OS/2 system more of a
  90.  joy.
  91.  
  92.  3) Tricks and tips that you've discovered.
  93.  
  94.  
  95.  --------------------
  96.  (2) Some terminology
  97.  --------------------
  98.  
  99.  TCP/IP is the name of a communications protocol - it defines a way for
  100.  computers to chat with each other.
  101.  
  102.  (PC)TCP is a family of products from several vendors that use TCP/IP on
  103.  a PC, generally under the DOS operating system.  Note that pc/nfs is a
  104.  specific product marketed by SunSoft (the (PC)NFS name has been adopted
  105.  as a generic name for that type of product).  (PC)NFS is not addressed
  106.  in this document - you may have heard about it from DOS systems.  The
  107.  programs described here do what PC/NFS on DOS does (and more).
  108.  
  109.  Ethernet is a specific hardware protocol for computer communications.
  110.  For example, a 3Com 3C503 card is a (very cheap and popular, if not
  111.  screamingly fast) Ethernet board for PCs.  Using it (and appropriate
  112.  software) you can connect a PC to an Ethernet TCP/IP network.  TCP/IP
  113.  is just one of many communication protocols that can run atop
  114.  Ethernet.  For example, a Novell Netware network running the IPX
  115.  protocol could run on the same Ethernet - same hardware, just different
  116.  protocols.
  117.  
  118.  Token-Ring is another hardware protocol in common use.  IBM's TCP/IP
  119.  package supports both Ethernet and Token-Ring network adapters.
  120.  
  121.  FTP is a "file transfer protocol" that runs on top of TCP/IP (there are
  122.  implementations of FTP for pretty much any computer that can talk
  123.  TCP/IP, making it a lingua franca for file exchange - it's not pretty
  124.  but it works).
  125.  
  126.  Telnet is a defined way for TCP/IP-speaking computers to set up
  127.  terminal sessions between each other so that you can actually log onto
  128.  a remote computer and interact with your account there.
  129.  
  130.  SLIP stands for serial line IP.  It defines a way that you can
  131.  connect to a TCP/IP network over a serial line (via a phone modem,
  132.  for example).  Serial communications is slower than a direct network
  133.  connection, but can sometimes be useful.  IBM's TCP/IP packages does
  134.  support SLIP.
  135.  
  136.  CSD is IBM's word for a publicly distributed bug fix package.  Note
  137.  that CSDs obsolete prior CSDs.  That is, application of any later CSD
  138.  will take care of everything that was done by earlier CSDs.  You don't
  139.  have to apply the whole chronological string of CSDs, just the most
  140.  recent one.  God help you if you install an earlier CSD over a later
  141.  one (IBM sure won't help you).
  142.  
  143.  
  144.  ----------------------------------------------
  145.  (3) Selecting parts of the IBM TCP/IP packages
  146.  ----------------------------------------------
  147.  
  148.  IBM sells a bunch of pieces, many of which are optional, for TCP/IP
  149.  networking.  Following is a brief summary of them.  Note that all of
  150.  the following come with both 1.2 Mb 5-1/4" and 1.44 Mb 3-1/2" disks in
  151.  the same package (you don't need to specify medium).
  152.  
  153.  -- TCP/IP Base Program (Part #02G6968).  Price: US$131.  You need this
  154.  in order to use any of the other following parts.  It gives you the
  155.  software to connect your Ethernet or Token Ring card to a network, plus
  156.  a few character-oriented programs (Telnet, FTP, ping, etc.).  It's sort
  157.  of equivalent to the public domain NCSA Telnet package for DOS.
  158.  
  159.  -- NFS Kit (Part #02G6970).  Price: US$95.  This gives your OS/2 system
  160.  the ability to serve as both a client and a server for sharing disk
  161.  space using Sun's NFS (Network File System) protocol.  In other words,
  162.  you can mount disks over the network that are physically attached to
  163.  other minicomputers or OS/2 systems as though they were attached to
  164.  your computer.  Conversely, you can make parts of your OS/2 computer's
  165.  disks available for sharing by others.  With this package (along with
  166.  the Base Program), you've got the makings of a small local area network
  167.  that can share disk space and printers.
  168.  
  169.  -- X-Windows System (Part #02G6980).  Price: US$95.  This gives your
  170.  OS/2 system the ability to display output (and relay input) to X
  171.  programs running on other computers.  X-Windows is a standardized way
  172.  for programs (mostly on Unix-based systems) to put graphics on the
  173.  screen and interact with the user.  X terminology is a bit peculiar:
  174.  the program doing the work is called the "client"; the program doing
  175.  the display is called the "server".  This package allows your OS/2
  176.  system to be an "X server", but not an "X client": you can display and
  177.  interact with X programs running elsewhere, but you can't run an X
  178.  program on your OS/2 system and have its results displayed elsewhere.
  179.  
  180.  -- X.25 Networking (Part #?).  Enables X.25 communications from your
  181.  OS/2 system.  I have no exposure to this product, so I won't comment.
  182.  I assume you'll know if you need it.
  183.  
  184.  -- Source code and programming packages.  If you're ordering these you
  185.  sure as hell don't need me giving you hints on what to do.
  186.  
  187.  And finally, where to order.  Peculiarly, IBM often seems unaware
  188.  that they sell this product.  So far, people have had the best
  189.  luck with calling: 1-800-IBM-2-YOU (1-800-436-2968).  Another IBM
  190.  order line (1-800-IBM-CALL) apparently knows about the product
  191.  but likes to charge you more money (?!).
  192.  
  193.  
  194.  --------------------------------------------
  195.  (4) Preparing to hook up to a TCP/IP network
  196.  --------------------------------------------
  197.  
  198.  Once you have the TCP/IP base package, you can be a full-blown node on
  199.  the Internet.  To do that, you _must_ contact a local system
  200.  adminstrator on the network to which you will physically connect your
  201.  OS/2 machine.  He or she must give you an Internet number.  Choosing
  202.  one at random is unlikely to work and is exceedingly antisocial (since
  203.  it may well disrupt others' use of the network).
  204.  
  205.  You can probably select your own cute name for your machine, unless
  206.  there is an iron-fisted net administrator who enforces a naming
  207.  convention.  As examples, our lab works on crab behavior, so our PCs
  208.  are called "fiddler" and "cancer".  The last place I worked had a lot
  209.  of people working on marine larvae, so they had "cypris", "zoea",
  210.  "actinula", etc.
  211.  
  212.  When you decide on a name and send it to your Local Network Guru, also
  213.  ask the following questions:
  214.  
  215.          What will my machine's full Internet name be (e.g.
  216.          fiddler.biol.scarolina.edu for the machine at which I'm
  217.          sitting)?
  218.  
  219.          What is my IP address (e.g. 123.234.221.112 as a totally
  220.          fictitious example)?
  221.  
  222.          Is this network subnetted?  If so, what's the subnet mask
  223.          (e.g.  255.255.255.0)?
  224.  
  225.          Is there a non-default broadcast address?  If so, what is it?
  226.  
  227.          What is the IP address of a default router for me to use?
  228.  
  229.          What are the IP addresses of three domain nameservers?
  230.  
  231.  And, before you start the software installation, do yourself a favor.
  232.  Open up your machine and take a good look at the network adapter card.
  233.  Write down any strap or switch options that are set.  You'll probably
  234.  need them later when you do the software configuration of the driver
  235.  for TCP/IP.
  236.  
  237.  
  238.  -----------------------------------
  239.  (5) Installing IBM's TCP/IP Package
  240.  -----------------------------------
  241.  
  242.  All the documentation comes with the Base Program.  The other packages
  243.  just consist of a folder with disks.
  244.  
  245.  It is not initially clear how to proceed, so here's enough to get you
  246.  going:
  247.  
  248.  Begin with the manual "TCP/IP Version 1.2.1 for OS/2 (Refresh):
  249.  Installation and Maintenance".  You install the TCP/IP software first,
  250.  then the specific driver software for your Ethernet or Token Ring board.
  251.  
  252.  There's a nice little configuration program called ICAT (Installation
  253.  and Configuration Automation Tool).  As per instructions, stick in disk
  254.  1 and run ICAT from an OS/2 command line.
  255.  
  256.  Push the "Install" button first.  It will give you the opportunity to
  257.  install any/all of the options you've ordered (base package, NFS,
  258.  X-Windows, X.25, and source packages).  Check off whatever boxes you
  259.  want and feed disks as requested.  Go ahead and install everything
  260.  you've got.
  261.  
  262.  Once everything has been copied to disk, push the "Configure" button of
  263.  ICAT.  Now comes the fun stuff.  I'm assuming you have the
  264.  documentation, so I'll just give you some hints based on what I did.
  265.  There's a numbered list of 6 configuration things to do.  We'll run
  266.  down the list.
  267.  
  268.  1.  Configure Network Interface Parameters.  You probably only have one
  269.  Ethernet or Token Ring board in your computer, so you only have to fill
  270.  in half this screen (the other half is for another board - and up to
  271.  two more on a "Next Screen").  Your IP address is whatever was issued
  272.  to you by your Friendly Local Network Adminstrator.  If he/she told you
  273.  anything about a "Subnet Mask", enter it appropriately.  Leave
  274.  "Broadast" and "Destination Address" blank (unless you've been
  275.  explicitly instructed otherwise).  For that matter, leave the rest of
  276.  the screen untouched unless told otherwise.  Don't forget to check the
  277.  little "Enabled" box in the top left corner.  When done, press the
  278.  "Menu" button to return to the main Configure menu.
  279.  
  280.  2.  X.25 Parameters.  You're on your own here (I haven't done this),
  281.  but it looks straightforward - stick in your IP address.
  282.  
  283.  3.  SLIP Parameters.  This is if you're going to use a serial port for
  284.  access, instead of a network adapter (SLIP = Serial Line Internet
  285.  Protocol).  Fill in the IP address, and the rest is like setting up the
  286.  dialer in a communications program.
  287.  
  288.  4.  Automatic Starting of Services.  Again, the following are
  289.  reasonable defaults if (a) you haven't been told otherwise; and (b) you
  290.  have the software involved.
  291.  
  292.          DO enable the inetd super server - this is one program which
  293.          runs all the time and spawns off some of the other network
  294.          service programs on an as-needed basis.  This way they don't
  295.          all have to be started at once.
  296.  
  297.          If you want yourself or others to be able to Telnet into this
  298.          machine, enable the Telnet server (BUT SEE NOTES BELOW - THIS
  299.          CAN BE A REAL SECURITY RISK).  This does not influence your
  300.          ability to telnet out of this machine to other machines.
  301.  
  302.          If you want to be able to access files on this machine from
  303.          other machines using the FTP protocol, enable the FTP server.
  304.          This does not influence your ability to use FTP on your machine
  305.          to access other machines.  (SEE NOTES BELOW - THIS IS A
  306.          POTENTIAL SECURITY RISK).
  307.  
  308.          Unless you know otherwise, DO NOT enable TFTP.
  309.  
  310.          I lean towards not enabling rexec and rsh unless there's a
  311.          compelling reason to do so.  THESE ARE A REAL SECURITY RISK.
  312.          Again, this does not affect your ability to rexec or rsh from
  313.          your OS/2 machine to other machines.
  314.  
  315.          If you are going to make a printer attached to your computer
  316.          available to other computers (i.e. your machine will be a
  317.          network print server), enable the lpd server.  NOTE: To prevent
  318.          lpd from printing a banner and control file before each
  319.          document, set lpd to run in the "Foreground" (not via inetd),
  320.          and type in "-b -c" (without the quotes) in the blank for
  321.          arguments.  This is particularly important if you have a
  322.          Postscript printer (since the banner and control files are in
  323.          ASCII, not Postscript, they will mysteriously stuff the
  324.          printer).
  325.  
  326.          If you've got the X-Windows stuff, enable it (leave the
  327.          "Parameters" as it is).
  328.  
  329.          If you're into online typing to people, enable Talk, but
  330.          honestly, why not just use the phone?
  331.  
  332.          Enable the NFS Server if you want other people to access your
  333.          hard disk (SEE SECURITY NOTES BELOW).
  334.  
  335.          Enable NFSCTL if you want to be able to mount other machines'
  336.          disks (but note that they must allow you to do so).
  337.  
  338.          If you have the IP address of a default router on your network,
  339.          you can skip enabling the automatic routing server "routed".
  340.          If you couldn't get such an address from the Local NetNerd, go
  341.          ahead and enable the automatic routing server "routed".  (See
  342.          some further remarks on this below in the "Tuning" section.)
  343.  
  344.          FINALLY, if you're going to receive mail directly onto your
  345.          machine, enable "sendmail".  If you're already receiving mail
  346.          on another machine, this is FAR more trouble than it's worth
  347.          (in my opinion).  With the other software you've got, you'll
  348.          easily be able to read your mail on another machine, so why
  349.          bother with all the sendmail setup stuff (which is relatively
  350.          fierce)?
  351.  
  352.  5.  Configure Services.  I'm going to give hints based on my slightly
  353.  net.paranoid approach.  See the security notes below for some details.
  354.  
  355.          Put one and only one entry in the FTP Access Protection:
  356.          anonymous.  (But see further notes in the "Security concerns"
  357.          section below.)
  358.  
  359.          If you're doing X-Windows, X Host Authorization gets the name
  360.          of the machine(s) on which your X "clients" (e.g. main
  361.          programs) will run.
  362.  
  363.          In the X Client Display Variable, enter your OS/2 machine's IP
  364.          address (or Internet name, whichever).  Not the name of the
  365.          host to which you will be connecting, but this very OS/2
  366.          machine's address.  Follow the IP address or machine name with
  367.          ":0" (without the quotes of course).  For example, I entered:
  368.          fiddler.biol.scarolina.edu:0
  369.  
  370.          Fill in the timezone in standard Unixoid format.  See page 95
  371.          of the manual for some of the more popular timezones.
  372.  
  373.          If you will use another machine's printer, enter that machine's
  374.          name and its printer's name.
  375.  
  376.          If you took my advice on rexec, enter nothing in the rexec
  377.          username and password.
  378.  
  379.          Enter nothing in the password field for telnet (BUT SEE THE
  380.          SECURITY NOTES BELOW).
  381.  
  382.          Enter your machine's name in the Hostname field (just the very
  383.          first part of the name: "fiddler" in the case of
  384.          "fiddler.biol.scarolina.edu").  Enter the rest of the name in
  385.          the Domain Name field ("biol.scarolina.edu").
  386.  
  387.          Type in (correctly!) the IP numbers of the (up to) three local
  388.          nameserver machines your Always Cheerful Network Adminstrator
  389.          gave you.
  390.  
  391.  6.  Routing Information.  If you have the IP address of a default
  392.  router, enter it here.  Follow the keypress instructions to insert an
  393.  entry.  Toggle the "Route Type" field using space, leave "Route
  394.  Destination" blank, type in the IP address into "Router", and leave
  395.  "Metric count" at 1.  If you do _not_ have the IP address of a default
  396.  router, make sure you enabled the "routed" daemon.  Then check below in
  397.  the "Tuning" section to see how you can find out your default router's
  398.  address later, insert it here, and dispense with "routed."
  399.  
  400.  When this is done, go ahead and "Exit" all the way out of the ICAT
  401.  program, reassuring it that you really do want it to write this stuff
  402.  to disk as it quits.
  403.  
  404.  
  405.  -------------------------------------------------
  406.  (6) Installing the driver for the network adapter
  407.  -------------------------------------------------
  408.  
  409.  Once you finish with all that nonsense, you will realize that you
  410.  haven't told the software anything about the network adapter you've got.
  411.  Time to turn to the "LAN Adapter and Protocol Support Introduction and
  412.  Configuration Guide".  Cram in the LAPS disk, and, from an OS/2 command
  413.  prompt, start up the "LAPS" program from the floppy.
  414.  
  415.  The following discussion assumes you will be using a network adapter
  416.  card (either Ethernet or Token-Ring).  If you will be using SLIP (IP
  417.  over a serial line with a modem), I suspect things may be a bit
  418.  different, but I don't know, I've never tried (as in: "Can you play the
  419.  violin?"  "I don't know, I've never tried").  See Appendix A2 below for
  420.  some supplementary information on SLIP.  I don't use it, so I haven't
  421.  tested this, but give it a whirl.  For now, we'll continue to assume
  422.  that you're using a network adapter card...
  423.  
  424.  First do the "install" to copy in the software.  Next, go to the
  425.  configuration part.
  426.  
  427.  What you do is simple: pick one from column A and one from column B.  In
  428.  fact, IBM has made it simpler still - there's only one choice in column
  429.  B (but you still have to explicitly pick it).  Choose your network
  430.  adapter from the Network Adapters list (select and "Add" it).  (If your
  431.  network adapter isn't on the list, see the remarks a few paragraphs
  432.  below here.)  Then choose the only choice (IBM TCP/IP) from column B.
  433.  You've now declared that your network adapter number 0 (the first one)
  434.  is of a particular type, and it will run TCP/IP.
  435.  
  436.  Now highlight the adapter name in the Current Configuration window and
  437.  press "Edit".  Now's your chance to make sure that the hardware options
  438.  on your adapter match up with the software's idea of them.  Change
  439.  anything that needs changing.  When in doubt, leave it as it was.
  440.  Notably, you should probably leave the "Network Adapter Address"
  441.  blank.  That number is supplied by the board hardware unless you enter
  442.  an overriding number here.
  443.  
  444.  Once you're done with the configuration, press "OK" and the proper
  445.  configuration will be copied in.
  446.  
  447.  
  448.  What if your network adapter isn't "supported"?  That is, you didn't see
  449.  it on the LAPS list.  Odds are good that it really is supported.  First
  450.  of all, check the documentation - your adapter may emulate an adapter
  451.  that is in the LAPS list.  If so, you're home free.  If not, you need to
  452.  get hold of an "NDIS driver" for your adapter.  There may be one on a
  453.  disk that came with the card.  Alternatively, you may be able to find
  454.  one on the ftp-os2.cdrom.com archive (see the section on downloading
  455.  CSDs in this document to see how to access the archive).
  456.  
  457.  Once you've got the NDIS driver, you'll need to do a little hand editing
  458.  of some configuration information.  The following description is edited
  459.  from some advice posted to the Usenet group comp.os.os2.networking by
  460.  Kai-Uwe Rommel (rommel@Informatik.TU-Muenchen.DE) regarding the popular
  461.  3Com Etherlink III card (a very fast, excellent Ethernet card, by the
  462.  way).  I haven't done this myself, so I don't know how easy it will be
  463.  to adapt these instructions to other cards, but take a look at this and
  464.  see how it goes...
  465.  
  466.          NDIS drivers for DOS and OS/2 come included with the Etherlink
  467.          III card. I'm not sure if the LAPS install program of the TCP/IP
  468.          package allows "other cards" to be installed, but otherwise
  469.          simply install the Etherlink II drivers first. Then, before
  470.          rebooting, copy ELNK3.OS2 from the Etherlink III driver floppy
  471.          to the same location where ELNKII.OS2 is and replace ELNKII.OS2
  472.          in config.sys by ELNK3.OS2. In the protocol.ini in \IBMCOM, add
  473.  
  474.                   ELNK3_nif
  475.                  DriverName = ELNK3$
  476.  
  477.          right below the  ELNKII_nif  section and replace
  478.  
  479.                  Bindings = ELNKII_nif
  480.  
  481.          in the TCPIP_nif section by
  482.  
  483.                  Bindings = ELNK3_nif
  484.  
  485.          and it should work after rebooting. You may want to boot DOS and
  486.          run the 3C509 program from the Etherlink III driver disk to set
  487.          up the card to use an IRQ > 8 (i.e. IRQ 10, for example) and set
  488.          the "client type" to a better suited one (you can choose DOS
  489.          client, Windows or OS/2 client or server). If you install the
  490.          Etherlink III in EISA machines, run the 3C509 program to switch
  491.          the card into EISA mode (yes it has one although it is an ISA
  492.          card) and use the EISA setup program and the config files on the
  493.          Etherlink III driver disk to configure it. See Appendix E in the
  494.          Etherlink III manual.
  495.  
  496.  
  497.  ------------------
  498.  (7) Initial tryout
  499.  ------------------
  500.  
  501.  Are ya feelin' lucky?  Hope so.  Quit out of LAPS.  Do the standard
  502.  OS/2 Shutdown.  Make sure your network adapter is actually plugged into
  503.  a network.  Cross fingers and toes.  Start up OS/2.
  504.  
  505.  It will take much longer to boot as five zillion networking programs
  506.  crank up.  Lots of them will put screens up as they come on.  Once
  507.  things are up, you can minimize these screens.  Meanwhile, they will
  508.  tell you of your progress.
  509.  
  510.  If things really choke and you don't get a boot, well, you knew the job
  511.  was dangerous when you took it.  Get an OS/2 guru to boot from a floppy
  512.  for you and REM out the line in "startup.cmd" that says "CALL
  513.  C:\TCPIP\BIN\TCPSTART.CMD".
  514.  
  515.  Assuming things more-or-less come up, try things out.  First, from an
  516.  OS/2 command line, try a ping to yourself.  In my case, that's "ping
  517.  fiddler.biol.scarolina.edu".  You should get a series of one-liners
  518.  once a second informing you that you've sent 64 bytes to yourself and
  519.  received it.  Press Control-C to quit that.  If, after you enter your
  520.  ping command, you get nothing (the command just hangs there), you've
  521.  got a problem: you're unable to find yourself.  Check your machine name
  522.  and Internet number using ICAT, and make sure your network adapter
  523.  board is properly set up, and the correct parameters are set using
  524.  LAPS.
  525.  
  526.  One thing you'll want to try (but DON'T) is to double-click on the cute
  527.  little INETD icon.  Don't do it.  You'll get a textmode screen with
  528.  Inetd's potential clients listed.  That's it.  No menus.  No nothing.
  529.  It makes you feel like DOS is back.  Press Alt-Tab or Alt-Esc to get
  530.  the hell out of there.  Memorize this, because one day you'll do it
  531.  accidentally anyway.
  532.  
  533.  Try telnetting to your local host.  Try an FTP file transfer.  Once FTP
  534.  file transfers work, I advise you to take the following step next,
  535.  before doing much more playing.
  536.  
  537.  Note: unless you've started telnetd and/or ftpd (or have them set
  538.  to start from inetd), don't try to telnet and/or ftp to yourself!
  539.  
  540.  
  541.  --------------------------------
  542.  (8) Downloading CSDs (bug fixes)
  543.  --------------------------------
  544.  
  545.  My system almost-kinda-sorta worked (flakey is the word that comes to
  546.  mind).  Following application of the bug fixes, it works very
  547.  smoothly.  So, to avoid wasting time, apply the bug fixes early.
  548.  Following is the scoop on how to do this.
  549.  
  550.  DON'T BE INTIMIDATED BY THE LENGTH OF THIS SECTION!  Because the CSDs
  551.  change with time, this section is verbose to cover different
  552.  contingencies.  It's really quite straightforward in practice.  Install
  553.  the bug fixes - you'll be very happy you did.
  554.  
  555.  1.  For neatness' sake, make a subdirectory called "csd" (well, don't
  556.  listen to me about it, call it "rosebud" if you want).  Do a "cd" to
  557.  that directory (all this is done from an OS/2 command line).
  558.  
  559.  2.  Give the command:  ftp ftp-os2.nmsu.edu
  560.  
  561.  3.  If that doesn't work ("host unknown" or "network unknown") you've
  562.  got a problem with domain name resolution.  MAybe routed.exe isn't
  563.  running or you have a bad DNS nameserver entry?  Ignore that for now,
  564.  but fix it later.  Try giving the command:  ftp 128.123.35.151
  565.  
  566.  4.  Log in as user anonymous, with your full login (joe@ace.b.c.edu) as
  567.  password.  Yeah, you don't really have a user name ("joe") since you're
  568.  on a single-user machine.  Make one up.  For my machine, for example,
  569.  I might enter "dean@fiddler.biol.scarolina.edu" (without the quotes).
  570.  
  571.  5.  Give something like the following FTP commands (things in square
  572.  brackets are my comments, not parts of the commands):
  573.  
  574.          binary
  575.          cd os2/ibm/tcpip                [get to the directory with fixes]
  576.          get tcpcsd1.exe                 [Base TCP/IP package patches]
  577.          get tcpcsd2.exe
  578.          get basecsd.doc                 [how to install Base CSDs]
  579.          get nfscsd1.exe                 [if you've got NFS]
  580.          get nfscsd.doc                  [how to install NFS CSDs]
  581.          get pmxcsd1.exe                 [if you've got X-Windows]
  582.          get pmxcsd.doc                  [how to install X-Windows CSDs]
  583.  
  584.  You may find that some of the CSDs have filenames ending in ".zip"
  585.  instead of ".exe".  If so, do the following as well:
  586.  
  587.          cd /os2/2_x/archiver
  588.          get unz50x32.exe                [Info-ZIP unzipper for unpacking[
  589.  
  590.  Quit from FTP with the following command:
  591.  
  592.          bye
  593.  
  594.  Of course, this will be out of date soon.  Just look for the most
  595.  recent CSD packages in the directory and snarf them.  Likewise for the
  596.  Info-Zip unzipper.  You should also check the directories "/os2/new"
  597.  and "/uploads": new uploads go there first and may not have made it to
  598.  the patches directory yet.  If there are several different CSDs for
  599.  products you have, download them all.  Unpack them (see below) each
  600.  separately on your machine and check the comments in the installation
  601.  scripts for the latest date.
  602.  
  603.  6.  Unpack the suckers.  If you got the unzipper program, just run
  604.  unz50x32.  It will unpack itself into the unzip program.  Each CSD
  605.  release seems to be slightly differently packaged, so I'll just give
  606.  some general guidelines here.  You can probably install them from your
  607.  hard disk, without having to copy them onto floppies (though they are
  608.  usually designed to be installed from floppies).  Make a subdirectory
  609.  for each type of CSD (for example, I made subdirectories "base", "nfs",
  610.  and "pmx") under the directory where you have the zip files.  Then
  611.  unpack each bundle into its appropriate subdirectory.
  612.  
  613.  If the CSD filename ends in ".exe", things are easy: it will unpack
  614.  itself into its component files.  For example, to unpack the Base
  615.  packages, I'd do the following:
  616.  
  617.          mkdir base
  618.          cd base
  619.          ..\tcpcsd1
  620.          ..\tcpcsd2
  621.  
  622.  If the CSD filename ends in ".zip", you have to explicitly use the
  623.  unzip program to unpack the file.  For example (if the CSD files were
  624.  called "tcpcsd.base1.zip" and "tcpcsd.base2.zip"):
  625.  
  626.          mkdir base
  627.          cd base
  628.          ..\unzip  ..\tcpcsd.base1
  629.          ..\unzip  ..\tcpcsd.base2
  630.  
  631.  Normally, the unzipping leads to the creation of 5-50 updated programs
  632.  and files, one of which is an installation script (ending in ".cmd").
  633.  In some cases, the zip files will unzip into one or two monolithic
  634.  ".exe" programs.  These aren't really standalone programs, but are
  635.  self-unpacking zip files.  If, when you're done unpacking the first
  636.  level of zip files, you only have one or two huge ".exe" files and you
  637.  DO NOT HAVE ANY FILES THAT END IN ".CMD" (i.e. you don't have an
  638.  installation script yet), check to see if the couple of huge programs
  639.  are actually zip files in disguise.  To do that, run the listing
  640.  function of unzip.exe.  For example, to check a hypothetical file
  641.  "basecsd.exe", try running:
  642.  
  643.          ..\unzip  -v  basecsd.exe
  644.  
  645.  If the unzip program barfs, it's not a zip file.  If you get a nice
  646.  listing of lots of filenames, you can unzip the archive by simply
  647.  running the program.  For example:
  648.  
  649.          basecsd
  650.  
  651.  Don't do any of this fussing if there's a ".cmd" file in the directory
  652.  from your inital unzipping - that's probably the installation script
  653.  which will take care of the next level of unzipping for you.
  654.  
  655.  7.  Check the installation scripts.  I've found two types.  One is a
  656.  pretty elaborate script that quite neatly checks your system out and
  657.  installs the CSDs from the hard drive directory.  These longer scripts
  658.  are over 100 lines long.  If there are just a few files that need
  659.  copying, there may be a short script instead.  In some cases, these
  660.  short scripts are "hardwired" to copy from the A: drive (tacky!).  A
  661.  quick edit of any offending lines takes care of the problem.  For
  662.  example, changing the line:
  663.  
  664.          copy 'A:nfsctl.exe' BASE'\bin\nfsctl.exe'
  665.  
  666.  to read:
  667.  
  668.          copy 'nfsctl.exe' BASE'\bin\nfsctl.exe'
  669.  
  670.  converts the command so that it will run from the hard drive instead of
  671.  needing to be put on a floppy.
  672.  
  673.  8.  Now you've got your CSDs (bug fixes) on disk, ready to install.  You
  674.  have to first REM out a couple of lines in your startup scripts, then
  675.  reboot.  Otherwise, OS/2 will refuse to let you update programs that are
  676.  currently running.  Using your favorite editor, edit your c:\config.sys.
  677.  Find the line that runs CNTRL.EXE.  Insert REM (followed by a space)
  678.  before it.  Save the file (as Plain Text, if you're asked).  I found
  679.  that I also had to edit the file c:\startup.cmd and REM out the line
  680.  that reads "CALL C:\TCPIP\BIN\TCPSTART.CMD".
  681.  
  682.  Now reboot.
  683.  
  684.  Why not do all this before even rebooting once?  Because applying the
  685.  CSD depends on a lot of networking environment that is set up in the
  686.  main config.sys file, so you've got to have booted with the networking
  687.  stuff installed but REMed out for the CSD to apply properly.
  688.  
  689.  9.  If you're lucky, IBM will have included a "*.doc" file that will
  690.  give you some hints on how to install each CSD.  If so, read the file,
  691.  and read the hints in the next paragraph.  Between them all, decide how
  692.  to install the CSDs.
  693.  
  694.  In the absence of an official "*.doc" file, you're on your own.  Each
  695.  CSD has its own handy install script.  Go to each CSD's subdirectory
  696.  and run the something-or-other.CMD file.  For example, for the Base
  697.  Package it might be basecsd.cmd; for NFS it might be nfscsd.cmd; for
  698.  X-Windows it might be installx.cmd (thanks for the consistency, guys).
  699.  Or it may be called something new and exciting.  Basically all that
  700.  these do is copy over a bunch of new versions of programs on top of the
  701.  old ones.  As far as I can tell, they don't meddle with initialization
  702.  setups.  [Late note on that - one of the newer CSDs does install a new
  703.  xinit.cmd, but quite politely informs you that it is moving your old
  704.  one to "xinitbak.cmd".]
  705.  
  706.  10. With your trusty editor, remove the REMs from config.sys and
  707.  startup.cmd.
  708.  
  709.  11. Reboot OS/2 to a far less bugfull networking setup.
  710.  
  711.  12. Periodically check in at ftp-os2 for new CSDs.  Apply as above and
  712.  they will overwrite whatever is needed to bring you up to date.  Note
  713.  that later CSDs make earlier CSDs obsolete: each CSD is complete.  You
  714.  do NOT need to install the whole chronological string of CSDs to get up
  715.  to date.  The latest CSD will do everything that any earlier CSDs did.
  716.  
  717.  
  718.  -------------------
  719.  (9) A few reminders
  720.  -------------------
  721.  
  722.  If you want to mount part of a Unix box's disk, the Unix machine will
  723.  need an entry in its /etc/exports file describing what you're allowed
  724.  to mount.  Similarly, your OS/2 system's \tcpip\etc\exports file will
  725.  have to list systems you allow to mount your disks (SEE SECURITY NOTES
  726.  BELOW).
  727.  
  728.  If you want to redirect printer output from your machine to an LPD
  729.  program on some other machine, you'll have to start up an lprmon process
  730.  for each of the printer ports you wish to redirect.  See the manual for
  731.  the syntax.  The trick is where to put the startup commands.  If you
  732.  don't mind seeing the lprmon windows appear at boot time, edit the file
  733.  \startup.cmd and insert the command(s) there.  That's a better solution
  734.  than putting them in \tcpip\bin\tcpstart.cmd, since tcpstart.cmd gets
  735.  clobbered if you rerun ICAT to reconfigure your setup.  If you are going
  736.  to edit your tcpstart.cmd file anyway (see the section below on tuning
  737.  for reasons you might do that), go ahead and stick them into
  738.  tcpstart.cmd.
  739.  
  740.  Note that there's a weirdness associated with lprmon: it apparently
  741.  cannot monitor a port that has a larger-than-default buffer size.  So
  742.  make sure that you check the PRINTMONBUFSIZE in your \config.sys.  For
  743.  any port(s) on which you will run lprmon make sure that the buffer size
  744.  is left on the default setting (134).  For example, a vanilla version
  745.  should be: PRINTMONBUFSIZE=134,134,134
  746.  
  747.  
  748.  ----------------------
  749.  (10) Security concerns
  750.  ----------------------
  751.  
  752.  You are now a node on the Internet (assuming you've hooked up to an
  753.  Internet-worked network).  That means you have to be security conscious.
  754.  You don't have to be an international bank to be chosen as a victim.
  755.  There really are people out there trying to break into whatever
  756.  computers they can.  You don't want to leave yourself open to that.
  757.  
  758.  Furthermore, if your computer is ever broken into, you stand a far
  759.  better chance of getting sympathetic help if you didn't leave it wide
  760.  open in the first place.  If I leave my door open and someone walks in
  761.  and takes things, they are still doing wrong, but I'd be more likely to
  762.  get sympathetic help had I locked the door.
  763.  
  764.  I will outline the approach I've taken to setting up our OS/2 systems.
  765.  I AM NOT A UNIX OR NETWORK SECURITY EXPERT.  Just for good measure, I'll
  766.  say that again:  I AM NOT A UNIX OR NETWORK SECURITY EXPERT.  I've done
  767.  enough reading to know that (a) it matters; and (b) security holes can
  768.  be very subtle.  So don't necessarily believe what I'm recommending.  I
  769.  welcome comments (but I will not open a debate on the morality of
  770.  computer breakins).
  771.  
  772.  1.  Enable Telnet but only with the real password option.  The default
  773.  password option offered is very weak.  It requires a single password
  774.  that is readable by anyone who has access to the system.  VERY WEAK.
  775.  But, buried deep is a better solution.  On page 72-73 of the
  776.  Installation and Maintenance Manual is the description of how to set up
  777.  telnet to require a Unix-style password file.  Now, Unix-style passwords
  778.  are far from hyper-secure, but they're better than a clear-text
  779.  "password"!  Perversely, IBM doesn't provide you with a program to make
  780.  the passwd file: you'll need to copy an /etc/passwd file from a Unix
  781.  host.  But you've probably got a login on a Unix machine - you can use
  782.  its password file.
  783.  
  784.  Follow the directions to install the passwd file and shuffle in a
  785.  different version of the login.exe program on OS/2.
  786.  
  787.  In general, don't depend on any of the so-called "passwords" that appear
  788.  in environmental varibles.  World-visible passwords are a (bad) joke.
  789.  
  790.  2.  Disable incoming FTP except for the very restricted "anonymous"
  791.  account.  Your TRUSERS file should look like this:
  792.  
  793.          user:  anonymous
  794.          rd:    c:\anonymous
  795.          wr:    c:\anonymous
  796.  
  797.  Make sure to create the directory c:\anonymous.  Someone can stuff your
  798.  system by filling disk's c:\anonymous directory with garbage, but that's
  799.  relatively benign.  If that's a problem, remove "c:\anonymous" from the
  800.  "wr:" field.  How can anyone FTP a file into your machine if you don't
  801.  even let them have ftp write access to "\anonymous"?  With this setup, a
  802.  really trusted user can have an entry in the Unix-style passwd file.
  803.  Then she or he can telnet into your machine and run FTP on your machine
  804.  to suck the file in.
  805.  
  806.  Don't have anything else in the TRUSERS file.  The idea of unencoded
  807.  passwords is ludicrous.
  808.  
  809.  [Supplementary note added later:] Perhaps the above approach is a
  810.  little harsh.  It turns out that FTP will not allow reading or writing
  811.  of the TRUSERS file.  Hence, you _could_ put other entries into the
  812.  TRUSERS file and an FTP-logged-in person couldn't pilfer the TRUSERS
  813.  file itself.  NOTE however, that TRUSERS will be accessible to any NFS
  814.  or Telnet users, so passwords there are still available.  You decide.
  815.  Personally, it makes me too nervous.
  816.  
  817.  3.  Don't enable the rexecd server.  It depends on clear-text passwords
  818.  in the environment or in the NETRC file.  People can Telnet in through
  819.  the passwd-protected telnet, then execute the command.  Same goes for
  820.  the rshd server.
  821.  
  822.  Come on.  Do you really want Joe Unwashed-behind-the-ears to be able to
  823.  do "rexec yourmachine del c:\*"?  And then giggle a bit.  Yup, that
  824.  could happen.
  825.  
  826.  4.  Don't enable the TFTP daemon "tftpd" unless you really need it for
  827.  some obscure reason.  FTP does the job.
  828.  
  829.  5.  Vanilla NFS is well known to be full of security holes.  You'll
  830.  notice the tight security demanded by the Unix host: give it a UID and
  831.  GID number and that's who you are.  Cute.  I'd be very wary about giving
  832.  write permission to my disk.
  833.  
  834.  REMEMBER: THERE ARE NO ACCESS CONTROLS ONCE SOMEONE 
  835.  HAS ACCESS TO YOUR OS/2 SYSTEM.  No files are protected from 
  836.  reading or deletion.  Once  someone is into your system, they can 
  837.  happily read any of your setup files in \tcpip\etc (which could [if you're 
  838.  naive] contain real live readable passwords).  They can also read your 
  839.  \config.sys and tcpstart.cmd files, in case they missed a password or two.
  840.  
  841.  The only people I want to have write access to my system are people
  842.  who've passed the (really minimal!) test of having logged in past the
  843.  Telnet-with-Unix-style-passwords.
  844.  
  845.  
  846.  ----------------------
  847.  (11) Tuning your setup
  848.  ----------------------
  849.  
  850.  Following are a few hints and suggestions that may help your networking
  851.  system work better.  Where I remembered, I've attributed suggestions to
  852.  the people who suggested them.  In most cases, these suggestions
  853.  appeared on the Usenet newsgroup comp.os.os2.networking.  I have edited
  854.  many/most of these for conciseness and format, so I'm to blame if I've
  855.  screwed them up (sorry).  My apologies to those whom I forgot!
  856.  
  857.  
  858.  1. If you edit any of the installation scripts yourself, note that IBM
  859.  uses an undocumented syntax.  They use "attrib file parameters" instead
  860.  of "attrib parameters file".  This works fine unless you use 4OS2 (a
  861.  command-line enhancer).  If you do, start up an unenhanced cmd shell
  862.  first.  (mathelmr@nuscc.nus.sg (Helmer Aslaksen))
  863.  
  864.  
  865.  2. After the initial thrill wears off, you'll wish there was some way to
  866.  get OS/2 to stick all the networking windows into the Minimized Window
  867.  Folder automatically at boot time.  Following is a scheme for doing so.
  868.  The basic idea is to stop tcpstart.cmd from being run in the
  869.  \startup.cmd script (running it as a "Startup" folder object instead)
  870.  and get all the programs started minimized, instead of as normal
  871.  windows.  (sip1@midway.uchicago.edu (Timothy F. Sipples),
  872.  mathelmr@nuscc.nus.sg (Helmer Aslaksen), others)
  873.  
  874.          A) Edit \startup.cmd and put a REM in front of the line that
  875.          runs the tcpstart.cmd script.  Add an "exit" to the end of the
  876.          \startup.cmd file (if you want its window to vanish, too).  In
  877.          fact (if nothing else is started in that file) instead of
  878.          editing it, you can just move it to \startup.old and forget
  879.          about it.
  880.  
  881.          B) From the desktop, open the "OS/2 System" object, then the
  882.          "Startup" object within that.
  883.  
  884.          C) From the "Drives" object, open up directories until you have
  885.          an icon view of the \tcpip\bin directory.  Click the right mouse
  886.          button once on the \tcpstart.cmd script.  Using the resulting
  887.          popup menu, create a shadow of the object, selecting the
  888.          "Startup" window to be its location.  The reason for doing A-C
  889.          is that things in the "Startup" folder start up late enough in
  890.          the boot process that they start after the Minimized Window
  891.          Viewer is in place.  Otherwise, you get icons across the bottom
  892.          of the desktop (eeeeww!).
  893.  
  894.          D) Now edit the file \tcpip\bin\tcpstart.cmd.  Wherever you see
  895.          a "start ..." line, change it to "start /min ...".  That will
  896.          cause the programs to start minimized.  NOTE: Check this file
  897.          again any time you run ICAT: your changes may get blown away
  898.          so that you'll have to reinsert the "/min"s.
  899.  
  900.          E) For any line in tcpstart.cmd that starts "call ...", edit the
  901.          script that gets called.  In those scripts, again change "start
  902.          ..." lines to "start /min ...".  Check this also after running
  903.          ICAT.
  904.  
  905.  3. Some of the networking software doesn't actually need to be run as a
  906.  subprocess of a "cmd" process.  For these cases, rather than issuing a
  907.  "start ..." or a "start /min ..." to kick them off, you can issue a
  908.  "detach ...".  For some processes (ones that have certain requirements
  909.  for interaction with keyboard and display), this won't work.
  910.  Experiment with it, though, you can save some memory that way.  I've
  911.  found that it works with lprmon, lpd (run standalone, not via inetd),
  912.  portmap, and nfsd.  It does not work with telnetd.  I think it works
  913.  with inetd itself, but if inetd starts telnetd for you, then telnetd is
  914.  stuffed.  Hence, I gave up on inetd.  Others, you're on your own...
  915.  
  916.  4. If you have already put a default router's IP address into your
  917.  configuration, you're probably not running routed.  If you are running
  918.  routed, however, you may be able to discover what your default router
  919.  is, insert its address, and stop running routed.  After you've been
  920.  doing network things for a while (including pinging or ftping some
  921.  remote sites), give the following command from an OS/2 command window:
  922.  
  923.          netstat -r
  924.  
  925.  Look for an entry that begins with "default".  You guessed it: use that
  926.  IP address as your default router address.  Use ICAT to edit your
  927.  network configuration: turn off "routed" and configure the default
  928.  router's IP address into the Routing Information section.  (Routed
  929.  information: assela@rpi.edu (Andre Asselin))
  930.  
  931.  5. The networking software sucks memory.  If you have 8 Mb or less of
  932.  memory, your performance will go down noticeably (but far from fatally)
  933.  as OS/2 swaps things in and out more often.  Don't need the TELNET
  934.  server?  Close it.  Don't need the FTP server?  Shut it down.  Don't
  935.  need the TALK daemon?  Get rid of it.  Mailer unnecessary?  Leave it
  936.  aside.  Only use X Windows occasionally?  Start up the PMX daemon "by
  937.  hand" when you need it.  That said, we find that full blown TCP/IP does
  938.  quite well in (true) 9 MB.  The extra megabyte appears to make all the
  939.  difference in the world.  If you don't run with everything but the
  940.  kitchen sink, 8 MB is viable.  The 2.1 release should improve on that
  941.  even more [since IBM is making efforts to make the OS/2 base use up
  942.  less memory].  Pay attention to cache sizes, by the way: a disk cache
  943.  that is too large will actually decrease performance.
  944.  (sip1@midway.uchicago.edu (Timothy F. Sipples))  Our experience is that
  945.  beefing up our systems to 16 Mb made things run _far_ more nimbly: the
  946.  near-continual disk grinding stopped and the agonizing pauses went
  947.  away.
  948.  
  949.  
  950.  --------------------------------
  951.  (12) Interesting TCP/IP software
  952.  --------------------------------
  953.  
  954.  There is a plethora of free software available on the Internet.  One of
  955.  the largest repositories of OS/2 software is the machine:
  956.  ftp-os2.cdrom.com.  Access it using anonymous FTP.  That is, connect to
  957.  it using ftp (give the command: ftp ftp-os2.cdrom.com) and give the user
  958.  name "anonymous" (without the quotes) when prompted for a user ID.
  959.  When prompted for a password, give your email address.  See the manual
  960.  entries on the FTP program for more details.  Also see part (8) of this
  961.  document for an example of downloading some files using FTP.
  962.  
  963.  Following are some pointers to useful TCP/IP-oriented programs (and
  964.  some other "indispensables") that can be downloaded from ftp-os2 or
  965.  other archive sites.  The filenames are indented under the names of the
  966.  directories under which they are found on ftp-os2 - locations may vary
  967.  on other archives.  A "*" for the filename indicates that there are
  968.  several files in that directory that are relevant.
  969.  
  970.  pub/os2/all/info/faq/
  971.          *             The OS/2 Frequently Asked Questions (with answers!)
  972.  pub/os2/ibm/ews/
  973.          gopher.zip    PM client for the Internet Gopher Client
  974.          goserv.zip    A Gopher Server protocol for OS/2 2.x
  975.  pub/os2/2_x/network/
  976.          nistime.zip   Update time/date from NIST Internet server
  977.          os2gofer.zip  Gopher client for OS/2 PM (requires VREXX & TCP/IP)
  978.          os2nosv4.zip  TCP/IP for OS/2 (via SLIP) - text-based
  979.          passwd.zip    IBM TCP/IP passwd file maintenance utilities
  980.          slip20b1.zip  Better performing SLIP for IBM TCP/IP 1.2.1
  981.          tcpstart.txt  This document you're reading now!
  982.          tn_enh11.zip  Enhancement for IBM OS/2 2.0 telnet daemon
  983.          wsos21.zip    Novell Netware Requester 2.01 for OS/2, Disk 1 of 3
  984.          wsos22.zip    Novell Netware Requester 2.01 for OS/2, Disk 2 of 3
  985.          wsos2d.zip    Novell Netware Requester 2.01 for OS/2, Disk 3 of 3
  986.          nsd202.zip    Novell Service Diskette (NSD #2) for WorkStation Kit
  987.  pub/os2/2_x/network/ndis/
  988.          *             NDIS drivers for many Ethernet cards
  989.  pub/os2/all/network/ndis/
  990.          *             NDIS drivers for many Ethernet cards
  991.  pub/os2/ibm/tcpip/
  992.          *             Home of "official" IBM bug fixes to TCP/IP
  993.  pub/os2/2_x/patches/
  994.          *             Home of more CSDs and bug fixes
  995.  pub/os2/2_x/unix/unixutil/
  996.          elvis172.zip  Elvis 1.7, a vi clone (for Unix devotees)
  997.          xfeel11.zip   A utility to make PM behave like X-Windows
  998.  
  999.  
  1000.  --------------
  1001.  (13) Good luck
  1002.  --------------
  1003.  
  1004.  That's about it for now, folks.  Read the IBM manuals - they're actually
  1005.  not too bad.  Not hold-your-handish, but most of what you need is
  1006.  (somewhere) in there.
  1007.  
  1008.  Best of luck with networking.  Maybe we'll ping each other one day...
  1009.  
  1010.  
  1011.  ---------------------------------------------------
  1012.  (A1) Appendix I: Coexistence of TCP/IP with Netware
  1013.  ---------------------------------------------------
  1014.  
  1015.  Personally, it's hard for me to believe, but apparently there's this
  1016.  other networking scheme out there by this little startup called
  1017.  Novell...  I haven't needed to interact with a Novell network, but lots
  1018.  of people do.  I've collected some of the postings from the Usenet
  1019.  newsgroup comp.os.os2.networking that address this issue.  I hope that
  1020.  they will help you get things working if you need to access TCP/IP and
  1021.  Novell.
  1022.  
  1023.  I have edited the text for brevity and consistency, so please pardon any
  1024.  errors I may have introduced in the process.  Thanks go entirely to the
  1025.  original posters of these messages - I've done nothing but copy their
  1026.  work.
  1027.  
  1028.  
  1029.  ********************************************************************
  1030.  From: ccherry@vnet.ibm.com
  1031.  Organization: IBM Boca Programming Center
  1032.  Date: Wed, 27 Jan 93 23:53:32 GMT
  1033.  
  1034.  Install the NetWare requester. Then install LAN Adapter Protocol Support
  1035.  (LAPS). This came with your TCP/IP disks. Choose NetWare Requester
  1036.  support if it is available. Next install TCP/IP Support.
  1037.  
  1038.  If your version of LAPS offered NetWare requester support, double click
  1039.  on the NetWare line and a dialog will appear. The first line will be for
  1040.  the universal address of your Ethernet card.  Enter that number and exit
  1041.  LAPS.  Alternately, you can edit the LANADDRESS = line in
  1042.  \IBMCOM\PROTOCOL.INI
  1043.  
  1044.  If LAPS did not have NetWare support, you must follow the directions in
  1045.  Chapter 6 of the NetWare Requester for OS/2 manual.
  1046.  
  1047.  Good luck!
  1048.  
  1049.  
  1050.  ********************************************************************
  1051.  From: davbur@joyner.lib.ecu.edu (David L. Burke)
  1052.  Organization: UNC Educational Computing Service
  1053.  Date: Mon, 25 Jan 1993 23:54:56 GMT
  1054.  
  1055.  Hope this stuff helps, guys.  It was a bitch, but I got Requester to
  1056.  work with TCP/IP for OS/2 1.2.1.  Below are The Big Three:  CONFIG.SYS,
  1057.  NET.CFG, and PROTOCOL.INI.
  1058.  
  1059.  Before I say anything else, I hope to hell that after making these
  1060.  changes that your machine doesn't boot up with a register dump or some
  1061.  stupid message like "unable to locate Country.sys," or anything else
  1062.  which stops you in your tracks.  Please make sure you have a floppy boot
  1063.  disk handy (I prefer makeboot.cmd myself.)  Good luck.
  1064.  
  1065.  General points:  Don't let ICAT or LAPS alter your config.sys.  Add the
  1066.  appropriate lines and include \TCPIP... and \IBMCOM...  in the necessary
  1067.  path statements.
  1068.  
  1069.  Setup:  I'm using an NE2000 NIC (there's a NE2000.NIF on hobbes for
  1070.  LAPS).  This setup works with 2.1b (as long as OS/2 is not loaded on
  1071.  Drive E: for some wierd reason).  I'm superstitious about the INET.SYS
  1072.  and IFNDIS.SYS files, making sure I use the same ones with each new
  1073.  install.  Don't have any idea why that is though.
  1074.  
  1075.  * * * * * *
  1076.  * CONFIG.SYS  (Notice that all the TCPIP and IBMCOM stuff is at the end of
  1077.  *             the file, after the requester stuff.)
  1078.  * * * * * *
  1079.  IFS=D:\OS2\HPFS.IFS  /CACHE:512 /CRECL:4 /AUTOCHECK:D
  1080.  PROTSHELL=D:\OS2\PMSHELL.EXE
  1081.  SET USER_INI=D:\OS2\OS2.INI
  1082.  SET SYSTEM_INI=D:\OS2\OS2SYS.INI
  1083.  SET OS2_SHELL=D:\OS2\CMD.EXE
  1084.  SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS,CONNECTIONS
  1085.  SET RUNWORKPLACE=D:\OS2\PMSHELL.EXE
  1086.  SET COMSPEC=D:\OS2\CMD.EXE
  1087.  LIBPATH=.;D:\OS2\DLL;D:\OS2\MDOS;D:\;D:\OS2\APPS\DLL;D:\NETWARE;
  1088.  D:\TCPIP\DLL;D:\IBMCOM\DLL;D:\TALKTHRU\PROGRAMS;
  1089.  SET PATH=D:\OS2;D:\OS2\SYSTEM;D:\OS2\MDOS\WINOS2;D:\OS2\INSTALL;
  1090.  D:\;D:\OS2\MDOS;D:\OS2\APPS;L:\OS2;P:\OS2;D:\NETWARE;D:\TCPIP\BIN;
  1091.  D:\IBMCOM;d:\tools\utilities;D:\TALKTHRU\PROGRAMS;
  1092.  SET DPATH=D:\OS2;D:\OS2\SYSTEM;D:\OS2\MDOS\WINOS2;D:\OS2\INSTALL;
  1093.  D:\;D:\OS2\BITMAP;D:\OS2\MDOS;D:\OS2\APPS;D:\NETWARE;D:\IBMCOM;
  1094.  SET PROMPT=$i[$p]
  1095.  SET HELP=D:\OS2\HELP;D:\OS2\HELP\TUTORIAL;D:\TCPIP\HELP;
  1096.  SET GLOSSARY=D:\OS2\HELP\GLOSS;
  1097.  SET IPF_KEYS=SBCS
  1098.  PRIORITY_DISK_IO=YES
  1099.  FILES=20
  1100.  SET DIRCMD=/O:GN
  1101.  DEVICE=D:\OS2\TESTCFG.SYS
  1102.  DEVICE=D:\OS2\DOS.SYS
  1103.  DEVICE=D:\OS2\PMDD.SYS
  1104.  BUFFERS=30
  1105.  IOPL=YES
  1106.  DISKCACHE=512,LW
  1107.  MAXWAIT=3
  1108.  MEMMAN=SWAP,PROTECT
  1109.  SWAPPATH=D:\OS2\SYSTEM 2048 2048
  1110.  BREAK=OFF
  1111.  THREADS=256
  1112.  PRINTMONBUFSIZE=134,134,134
  1113.  COUNTRY=001,D:\OS2\SYSTEM\COUNTRY.SYS
  1114.  SET KEYS=ON
  1115.  REM SET DELDIR=C:\DELETE,512;D:\DELETE,512;
  1116.  BASEDEV=PRINT01.SYS
  1117.  BASEDEV=IBM1FLPY.ADD
  1118.  BASEDEV=IBM1S506.ADD
  1119.  BASEDEV=OS2DASD.DMD
  1120.  SET BOOKSHELF=D:\OS2\BOOK
  1121.  SET EPMPATH=D:\OS2\APPS
  1122.  SET FAXPM=D:\OS2\APPS
  1123.  REM DEVICE=D:\OS2\APPS\SASYNCDA.SYS
  1124.  PROTECTONLY=NO
  1125.  SHELL=D:\OS2\MDOS\COMMAND.COM D:\OS2\MDOS /P /E:1024
  1126.  FCBS=16,8
  1127.  RMSIZE=640
  1128.  DEVICE=D:\OS2\MDOS\VEMM.SYS
  1129.  DOS=LOW,NOUMB
  1130.  DEVICE=D:\OS2\MDOS\VDPX.SYS
  1131.  DEVICE=D:\OS2\MDOS\VXMS.SYS /UMB
  1132.  DEVICE=D:\OS2\MDOS\VDPMI.SYS
  1133.  DEVICE=D:\OS2\MDOS\VWIN.SYS
  1134.  DEVICE=D:\OS2\MDOS\VCDROM.SYS
  1135.  REM DEVICE=D:\OS2\PCMCIA.SYS
  1136.  REM DEVICE=D:\OS2\MDOS\VPCMCIA.SYS
  1137.  DEVICE=D:\OS2\MDOS\VMOUSE.SYS
  1138.  DEVICE=D:\OS2\POINTDD.SYS
  1139.  DEVICE=D:\OS2\MOUSE.SYS SERIAL=COM1
  1140.  DEVICE=D:\OS2\COM.SYS
  1141.  DEVICE=D:\OS2\MDOS\VCOM.SYS
  1142.  CODEPAGE=437,850
  1143.  DEVINFO=KBD,US,D:\OS2\KEYBOARD.DCP
  1144.  SET VIDEO_DEVICES=VIO_SVGA
  1145.  DEVICE=D:\OS2\MDOS\VSVGA.SYS
  1146.  
  1147.  REM --- NetWare Requester statements BEGIN ---
  1148.  DEVICE=D:\NETWARE\LSL.SYS
  1149.  RUN=D:\NETWARE\DDAEMON.EXE
  1150.  DEVICE=D:\NETWARE\NE2000.SYS
  1151.  DEVICE=D:\NETWARE\IPX.SYS
  1152.  DEVICE=D:\NETWARE\SPX.SYS
  1153.  RUN=D:\NETWARE\SPDAEMON.EXE
  1154.  rem DEVICE=D:\NETWARE\NMPIPE.SYS
  1155.  rem DEVICE=D:\NETWARE\NPSERVER.SYS
  1156.  rem RUN=D:\NETWARE\NPDAEMON.EXE NP_COMPUTERNAME
  1157.  DEVICE=D:\NETWARE\NWREQ.SYS
  1158.  IFS=D:\NETWARE\NWIFS.IFS
  1159.  RUN=D:\NETWARE\NWDAEMON.EXE
  1160.  DEVICE=D:\NETWARE\NETBIOS.SYS
  1161.  RUN=D:\NETWARE\NBDAEMON.EXE
  1162.  DEVICE=D:\NETWARE\VIPX.SYS
  1163.  DEVICE=D:\NETWARE\VSHELL.SYS
  1164.  REM --- NetWare Requester statements END ---
  1165.  
  1166.  REM  Below is all the TCPIP and IBMCOM stuff (not before!)
  1167.  DEVICE=D:\IBMCOM\LANMSGDD.OS2 /I:D:\IBMCOM
  1168.  DEVICE=D:\IBMCOM\PROTMAN.OS2 /I:D:\IBMCOM
  1169.  rem  DEVICE=D:\IBMCOM\MACS\NE2000.OS2 /I:D:\IBMCOM
  1170.  
  1171.  DEVICE=D:\NETWARE\ODINSUP.SYS
  1172.  RUN=D:\IBMCOM\PROTOCOL\NETBIND.EXE
  1173.  RUN=D:\IBMCOM\LANMSGEX.EXE
  1174.  
  1175.  SET ETC=D:\TCPIP\ETC
  1176.  SET TMP=D:\TCPIP\TMP
  1177.  DEVICE=D:\IBMCOM\PROTOCOL\IFNDIS.SYS
  1178.  DEVICE=D:\IBMCOM\PROTOCOL\INET.SYS
  1179.  RUN=D:\TCPIP\BIN\CNTRL.EXE
  1180.  
  1181.  SET VIO_SVGA=DEVICE(BVHVGA,BVHSVGA)
  1182.  DEVINFO=SCR,VGA,D:\OS2\VIOTBL.DCP
  1183.  
  1184.  
  1185.  * * * * * *
  1186.  * NET.CFG  (nothing special here)
  1187.  * * * * * *
  1188.  Link driver ne2000
  1189.     protocol ipx 8137 ethernet_ii
  1190.     frame ethernet_ii
  1191.     int 5
  1192.     port 360
  1193.     node address 1B198826
  1194.  
  1195.  netware requester
  1196.      preferred ecu_joyner_library
  1197.  
  1198.  protocol odinsup
  1199.      bind ne2000
  1200.  
  1201.  link support
  1202.      buffers 16 1514
  1203.  
  1204.  
  1205.  * * * * * *
  1206.  * PROTOCOL.INI (Don't worry about the LAPS settings during install.  They
  1207.  *               only write to the PROTOCOL.INI as far as I know.)
  1208.  * * * * * *
  1209.  [PROT_MAN]
  1210.   DriverName = PROTMAN$
  1211.  
  1212.  [IBMLXCFG]
  1213.   NE2000_nif = NE2000.nif
  1214.   TCPIP_nif = TCPIP.nif
  1215.  
  1216.  ;*----------------------------------------------*
  1217.  ;*------------- PROTOCOL SECTION ---------------*
  1218.  ;*----------------------------------------------*
  1219.  
  1220.  [TCPIP_nif]
  1221.   DriverName = TCPIP$
  1222.  ; Bindings = NE2000_nif
  1223.   Bindings = NE2000
  1224.  
  1225.  ;*----------------------------------------------*
  1226.  ;*--------------- MAC SECTION ------------------*
  1227.  ;*----------------------------------------------*
  1228.  
  1229.  [NE2000]
  1230.  
  1231.  [NE2000_nif]
  1232.   DriverName = MS2000$
  1233.   IOBASE = 0x360
  1234.   INTERRUPT = 5
  1235.  
  1236.  
  1237.  ********************************************************************
  1238.  From: loflin@emx.cc.utexas.edu (Don Loflin)
  1239.  Organization: The University of Texas at Austin, Austin, Texas
  1240.  Date: 28 Jan 1993 08:55:21 -0600
  1241.  
  1242.  I found the following settings to be the most crucial, especially the
  1243.  "protocol odinsup / bind ne2000" part, which the ODINSUP readme claimed
  1244.  was optional if you only had 1 ODI driver loaded (e.g. it would bind to
  1245.  the only driver found).
  1246.  
  1247.  * * * * *
  1248.  * NET.CFG
  1249.  * * * * *
  1250.  protocol odinsup
  1251.      bind ne2000
  1252.  
  1253.  * * * * *
  1254.  * PROTOCOL.INI
  1255.  * * * * *
  1256.  [TCPIP_nif]
  1257.   Bindings = NE2000
  1258.  
  1259.  
  1260.  ********************************************************************
  1261.  From: RZHM@rz.uni-osnabrueck.DE (Helmut Meyhoefer)
  1262.  Organization: Computing Center
  1263.  Date: Thu, 28 Jan 1993 13:38:27 GMT
  1264.  
  1265.  This is my configuration for CM, TCPIP and NW Requester with NSD201.  No
  1266.  problems.
  1267.  
  1268.  * * * * *
  1269.  * CONFIG.SYS
  1270.  * * * * *
  1271.  
  1272.  IFS=C:\OS2\HPFS.IFS /CACHE:384 /CRECL:4 /AUTOCHECK:CDE
  1273.  
  1274.  REM ******* LAPS:
  1275.  RUN=C:\OS2\INSTALL\IBMLANLK.EXE C:\OS2\INSTALL\IBMLANLK.LST
  1276.  
  1277.  RUN=C:\OS2\XCOPY.EXE C:\OS2\OS2*.INI E:\OS2\IniSave
  1278.  PROTSHELL=C:\OS2\PMSHELL.EXE
  1279.  SET RESTARTOBJECTS=STARTUPFOLDERSONLY
  1280.  SET USER_INI=C:\OS2\OS2.INI
  1281.  SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  1282.  SET OS2_SHELL=C:\OS2\CMD.EXE
  1283.  SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  1284.  SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  1285.  SET COMSPEC=C:\OS2\CMD.EXE
  1286.  LIBPATH=.;C:\OS2\DLL;C:\MUGLIB\DLL;C:\OS2\MDOS;E:\CMLIB\DLL;C:\;C:\OS2\APPS\DLL
  1287.  ;C:\IBMCOM\DLL;E:\NETWARE;E:\TCPIP\DLL;
  1288.  SET
  1289.  PATH=C:\OS2;C:\OS2\CMD;C:\MUGLIB;C:\OS2\SYSTEM;D:\SYSTEM;C:\OS2\MDOS\WINOS2;E:\
  1290.  CMLIB;E:\CMLIB\APPN;C:\OS2\INSTALL;C:\;C:\OS2\MDOS;C:\OS2\APPS;L:\OS2;P:\OS2;E:
  1291.  \NETWARE;E:\TCPIP\BIN;
  1292.  SET
  1293.  DPATH=C:\OS2;C:\MUGLIB\DLL;E:\CMLIB;E:\CMLIB\APPN;C:\OS2\SYSTEM;C:\OS2\MDOS\WIN
  1294.  OS2;C:\OS2\INSTALL;C:\;C:\OS2\BITMAP;C:\OS2\MDOS;C:\OS2\APPS;C:\IBMCOM;E:\NETWA
  1295.  RE;L:\OS2;
  1296.  SET PROMPT=$e[32;40m$e[1mrc=$r [$p] $i$e]0m
  1297.  SET HELP=E:\CMLIB\APPN;C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;E:\TCPIP\HELP;
  1298.  SET GLOSSARY=C:\OS2\HELP\GLOSS;
  1299.  SET THE_HELP=D:\OS2\UTILS\THE\OS2.HLP
  1300.  SET THE=D:\OS2\UTILS\THE\PROFILE.THE
  1301.  SET DIRCMD=/O:GN
  1302.  PRIORITY_DISK_IO=YES
  1303.  FILES=20
  1304.  DEVICE=C:\OS2\R0CSDD.SYS
  1305.  
  1306.  REM ******* LAPS:
  1307.  DEVICE=C:\OS2\INSTALL\IBMLANLK.SYS C:\OS2\INSTALL\IBMLANLK.LST
  1308.  DEVICE=C:\IBMCOM\LANMSGDD.OS2 /I:C:\IBMCOM
  1309.  DEVICE=C:\ibmcom\protman.os2 /I:C:\ibmcom
  1310.  
  1311.  DEVICE=C:\OS2\TESTCFG.SYS
  1312.  DEVICE=C:\OS2\DOS.SYS
  1313.  DEVICE=C:\OS2\PMDD.SYS
  1314.  BUFFERS=30
  1315.  IOPL=YES
  1316.  DISKCACHE=64,LW
  1317.  MAXWAIT=3
  1318.  MEMMAN=SWAP,PROTECT
  1319.  SWAPPATH=E:\SWAPSPACE 2048 4096
  1320.  BREAK=OFF
  1321.  THREADS=256
  1322.  PRINTMONBUFSIZE=134,134,134
  1323.  COUNTRY=049,C:\OS2\SYSTEM\COUNTRY.SYS
  1324.  SET KEYS=ON
  1325.  SET DELDIR=C:\DELETE,512 D:\DELETE,1024 E:\DELETE,1024
  1326.  BASEDEV=PRINT02.SYS
  1327.  BASEDEV=IBM2FLPY.ADD
  1328.  BASEDEV=IBM2ADSK.ADD
  1329.  BASEDEV=OS2DASD.DMD
  1330.  SET BOOKSHELF=C:\OS2\BOOK;
  1331.  SET EPATH=C:\OS2\APPS
  1332.  DEVICE=C:\OS2\APPS\SASYNCDB.SYS
  1333.  PROTECTONLY=NO
  1334.  SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /E:1000/P
  1335.  FCBS=16,8
  1336.  RMSIZE=640
  1337.  DEVICE=C:\OS2\MDOS\VEMM.SYS
  1338.  DEVICE=C:\OS2\MDOS\VMOUSE.SYS
  1339.  DOS=LOW,NOUMB
  1340.  DEVICE=C:\OS2\MDOS\VDPX.SYS
  1341.  DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  1342.  DEVICE=C:\OS2\MDOS\VDPMI.SYS
  1343.  DEVICE=C:\OS2\MDOS\VWIN.SYS
  1344.  DEVICE=C:\OS2\MDOS\VCDROM.SYS
  1345.  DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  1346.  SET VIDEO_DEVICES=VIO_VGA
  1347.  SET VIO_VGA=DEVICE(BVHVGA)
  1348.  DEVICE=C:\OS2\MDOS\VVGA.SYS
  1349.  CODEPAGE=850,437
  1350.  DEVINFO=KBD,GR,C:\OS2\KEYBOARD.DCP
  1351.  DEVICE=C:\OS2\POINTDD.SYS
  1352.  DEVICE=C:\OS2\MOUSE.SYS
  1353.  DEVICE=C:\OS2\COM.SYS
  1354.  DEVICE=C:\OS2\MDOS\VCOM.SYS
  1355.  DEVICE=C:\OS2\MDOS\ANSI.SYS
  1356.  
  1357.  REM Protokollierung einschalten:
  1358.  DEVICE=C:\OS2\LOG.SYS
  1359.  RUN=C:\OS2\SYSTEM\LOGDAEM.EXE
  1360.  
  1361.  REM ********* Netware Requester ***************
  1362.  REM --- NETWARE REQUESTER STATEMENTS BEGIN ---
  1363.  DEVICE=E:\NETWARE\LSL.SYS
  1364.  RUN=E:\NETWARE\DDAEMON.EXE
  1365.  DEVICE=E:\NETWARE\TOKEN.SYS
  1366.  DEVICE=E:\NETWARE\ROUTE.SYS
  1367.  DEVICE=E:\NETWARE\IPX.SYS
  1368.  DEVICE=E:\NETWARE\SPX.SYS
  1369.  RUN=E:\NETWARE\SPDAEMON.EXE
  1370.  DEVICE=E:\NETWARE\NWREQ.SYS
  1371.  IFS=E:\NETWARE\NWIFS.IFS
  1372.  RUN=E:\NETWARE\NWDAEMON.EXE
  1373.  DEVICE=E:\NETWARE\VIPX.SYS
  1374.  DEVICE=E:\NETWARE\VSHELL.SYS
  1375.  DEVICE=E:\NETWARE\ODINSUP.SYS
  1376.  REM --- NETWARE REQUESTER STATEMENTS END ---
  1377.  
  1378.  REM ********* Communications Manager ***************
  1379.  DEVICE=C:\ibmcom\protocol\LANDD.OS2
  1380.  DEVICE=C:\ibmcom\protocol\LANDLLDD.OS2
  1381.  DEVICE=E:\CMLIB\ACSLDLAN.SYS
  1382.  RUN=C:\OS2\EPW.EXE
  1383.  RUN=C:\ibmcom\protocol\landll.exe
  1384.  DEVICE=E:\CMLIB\APPN\CMKFMDE.SYS
  1385.  DEVICE=C:\IBMCOM\PROTOCOL\IFNDIS.SYS
  1386.  DEVICE=C:\IBMCOM\PROTOCOL\INET.SYS
  1387.  
  1388.  REM ******* TCPIP
  1389.  SET ETC=E:\TCPIP\ETC
  1390.  SET TMP=E:\TCPIP\TMP
  1391.  RUN=E:\TCPIP\BIN\CNTRL.EXE
  1392.  
  1393.  REM ******* LAPS:
  1394.  RUN=C:\ibmcom\protocol\netbind.exe
  1395.  RUN=C:\ibmcom\lanmsgex.exe
  1396.  
  1397.  REM ******* TCPIP
  1398.  SET XFILES=E:\TCPIP\X11
  1399.  SET USERNAME=
  1400.  SET HOSTNAME=
  1401.  SET TELNET.PASSWORD.ID=
  1402.  
  1403.  CALL=CMD.EXE
  1404.  
  1405.  
  1406.  * * * * *
  1407.  * NET.CFG
  1408.  * * * * *
  1409.  
  1410.  Link Driver token
  1411.     frame token-ring
  1412.     frame token-ring_snap
  1413.     node address 400031741015
  1414.  
  1415.  Link Support
  1416.     buffers 14 4210
  1417.  
  1418.  protocol odinsup
  1419.     bind token
  1420.  
  1421.  protocol stack ipx
  1422.     sessions 50
  1423.     Sockets 64
  1424.  
  1425.  PROTOCOL STACK SPX
  1426.     Abort Timeout 30000
  1427.     Verify Timeout 3000
  1428.     Listen Timeout 6000
  1429.     Send Timeout 6000
  1430.     Retry Count 20
  1431.     Sessions 50
  1432.  
  1433.  Netware Requester
  1434.     cache buffers 20
  1435.     sessions 8
  1436.     request retries 20
  1437.     preferred server server_name
  1438.  
  1439.  Netware Spooler
  1440.     copies 1
  1441.     keep
  1442.     size 8
  1443.     banner
  1444.     form feed
  1445.  
  1446.  
  1447.  * * * * *
  1448.  * PROTOCOL.INI
  1449.  * * * * *
  1450.  
  1451.  [PROT_MAN]
  1452.   DriverName = PROTMAN$
  1453.  
  1454.  [IBMLXCFG]
  1455.   TCPIP_nif = TCPIP.nif
  1456.   LANDD_nif = LANDD.NIF
  1457.  
  1458.  [TCPIP_nif]
  1459.   DriverName = TCPIP$
  1460.   Bindings = TOKEN
  1461.  
  1462.  [LANDD_nif]
  1463.   DriverName = LANDD$
  1464.   Bindings = TOKEN
  1465.  
  1466.  
  1467.  ********************************************************************
  1468.  From: reus@mic.dth.dk (Roger de Reus)
  1469.  Organization: Mikroelektronik Centret, DTH, Denmark
  1470.  Date: Thu, 10 Jun 93 12:11:44 METDST
  1471.  
  1472.  One suggestion for your document: Since you refer to ftp.nmsu.edu to
  1473.  get the CSD's for TCP/IP, you may as well refer to the same place to
  1474.  get the latest Netware release (/pub/os2/2_x/network/novell) and
  1475.  documentation.
  1476.  
  1477.  Here the (excerpts) of the configuration files. I have TCP/IP (with
  1478.  X11) and Netware (finally) running simultaneously over one single 3COM
  1479.  3C503 card. I did not use the configuration programs (ICAT and LAPS)
  1480.  but manually edited the files. Note that all the ELINKII stuff is
  1481.  commented out. I was happy when things  finally worked out, and did not
  1482.  try more. Probably  lots  of  extraneous code lying around. Did not get
  1483.  things running  by  automatically routing, so explicitly added a
  1484.  default gateway in  the  routing command (last line of this file).
  1485.  
  1486.  Hope this will get some people getting ahead quicker  than  I did.
  1487.  Credits   should   go   to   the   Hobbes   ftp    server
  1488.  (ftp-os2.nmsu.edu) which made the latest changes to both  TCP/IP and
  1489.  Netware software available (and now supplies  all  the  OS/2 goodies on
  1490.  CD-ROM for $25,-, I believe---grab  it  you  American guys), Kerry
  1491.  Sesker (cmdses@pmvax.weeg.uiowa.edu)  who  supplied me with some
  1492.  configuration files I could start with,  and  Prof.  Mike Thompson
  1493.  (Cornell University), who pointed  me  to  ftp-os2 for the Novell
  1494.  software update.
  1495.  ________________________________________________________________/\_____
  1496.  Roger de Reus (REUS@MIC.DTH.DK)                                 \/ 
  1497.                                   Mikroelektronik Centret  /\ /\ /\  /--
  1498.  Ph. (+45) 45 93 12 22--5764          DTH, bldg. 345-east  -- -- -- ----
  1499.  Ph. (+45) 45 93 46 10                    DK--2800 Lyngby  -- -- -- ----
  1500.  Fax (+45) 42 88 77 62                            Denmark  -- -- --  `--
  1501.  _______________________________________________________________________
  1502.  
  1503.  * * * * *
  1504.  * CONFIG.SYS (relevant parts)
  1505.  * * * * *
  1506.  
  1507.  LIBPATH=...;C:\TCPIP\DLL;C:\USR\NETWARE;C:\IBMCOM\DLL;
  1508.  SET PATH=...;C:\TCPIP\BIN;...;C:\USR\NETWARE;C:\IBMCOM;
  1509.  SET DPATH=...;C:\USR\NETWARE;C:\IBMCOM;
  1510.  SET HELP=...;C:\TCPIP\HELP;
  1511.  
  1512.  REM --- TCP/IP and NetWare Requester statements BEGIN ---
  1513.  DEVICE=C:\IBMCOM\PROTMAN.OS2 /I:C:\IBMCOM
  1514.  DEVICE=C:\IBMCOM\LANMSGDD.OS2 /I:C:\IBMCOM
  1515.  SET ETC=C:\TCPIP\ETC
  1516.  RUN=C:\TCPIP\BIN\CNTRL.EXE
  1517.  SET XFILES=C:\TCPIP\X11
  1518.  SET DISPLAY=reus026.mic.dth.dk:0
  1519.  SET TZ=CET
  1520.  SET LPR_SERVER=mic.dth.dk
  1521.  SET LPR_PRINTER=ps
  1522.  SET HOSTNAME=reus026
  1523.  SET LANG=Da_DK
  1524.  SET NWLANGUAGE=ENGLISH
  1525.  DEVICE=C:\USR\NETWARE\LSL.SYS
  1526.  RUN=C:\USR\NETWARE\DDAEMON.EXE
  1527.  DEVICE=C:\USR\NETWARE\3C503.SYS
  1528.  DEVICE=C:\USR\NETWARE\ODINSUP.SYS
  1529.  DEVICE=C:\USR\NETWARE\IPX.SYS
  1530.  DEVICE=C:\USR\NETWARE\NWREQ.SYS
  1531.  IFS=C:\USR\NETWARE\NWIFS.IFS
  1532.  RUN=C:\USR\NETWARE\NWDAEMON.EXE
  1533.  RUN=C:\IBMCOM\PROTOCOL\NETBIND.EXE
  1534.  RUN=C:\IBMCOM\LANMSGEX.EXE
  1535.  DEVICE=C:\USR\NETWARE\VIPX.SYS
  1536.  DEVICE=C:\USR\NETWARE\VSHELL.SYS
  1537.  DEVICE=C:\IBMCOM\PROTOCOL\INET.SYS
  1538.  DEVICE=C:\IBMCOM\PROTOCOL\IFNDIS.SYS
  1539.  rem DEVICE=C:\IBMCOM\PROTOCOL\ELINKII.OS2
  1540.  REM --- TCP/IP and NetWare Requester statements END ---
  1541.  
  1542.  
  1543.  * * * * *
  1544.  * NET.CFG
  1545.  * * * * *
  1546.  
  1547.  cache buffers = 40
  1548.  file handles = 120
  1549.  max tasks = 60
  1550.  pb buffers = 10
  1551.  preferred server = mic
  1552.  show dots on
  1553.  
  1554.  link driver 3C503
  1555.     frame ethernet_802.3
  1556.     frame ethernet_ii
  1557.     frame ethernet_802.2
  1558.     frame ethernet_snap
  1559.     node address 02608c8c04eb
  1560.     protocol ipx 0 ethernet_802.3
  1561.  
  1562.  link support
  1563.     buffers 15 4210
  1564.     mempool 4096
  1565.  
  1566.  protocol odinsup
  1567.     bind 3c503
  1568.  
  1569.  protocol stack IPX
  1570.     bind 3c503
  1571.  
  1572.  protocol tcpip
  1573.     ip_address 129.142.64.205
  1574.     ip_router  129.142.6.16
  1575.     ip_netmask 255.255.0.0
  1576.     tcp_sockets 8
  1577.     udp_sockets 8
  1578.     raw_sockets 1
  1579.     nb_sessions 4
  1580.     nb_commands 8
  1581.     nb_adapter  0
  1582.     nb_domain
  1583.  
  1584.  netware requestor
  1585.     cache buffers 20
  1586.     displayharderrors no
  1587.     preferred server mic
  1588.  
  1589.  netware spooler
  1590.     no banner
  1591.     no form feed
  1592.  
  1593.  
  1594.  * * * * *
  1595.  * PROTOCOL.INI
  1596.  * * * * *
  1597.  
  1598.  [PROT_MAN]
  1599.   DriverName = PROTMAN$
  1600.  
  1601.  [IBMLXCFG]
  1602.  ; ELNKII_nif = ELNKII.nif
  1603.   TCPIP_nif = TCPIP.nif
  1604.  
  1605.  ;*----------------------------------------------*
  1606.  ;*------------- PROTOCOL SECTION ---------------*
  1607.  ;*----------------------------------------------*
  1608.  
  1609.  [TCPIP_nif]
  1610.   DriverName = TCPIP$
  1611.   Bindings = X3C503
  1612.  
  1613.  
  1614.  ;*----------------------------------------------*
  1615.  ;*--------------- MAC SECTION ------------------*
  1616.  ;*----------------------------------------------*
  1617.  
  1618.  [X3C503]
  1619.  
  1620.  ;[ELNKII_nif]
  1621.  ; DriverName = ELNKII$
  1622.  ; netaddress = "02608C8C04EB"
  1623.  ; interrupt = 3
  1624.  ; ioaddress = 0x300
  1625.  ; transceiver = "ONBOARD"
  1626.  ; maxtransmits = 8
  1627.  ; xmitbufs = 2
  1628.  
  1629.  
  1630.  * * * * *
  1631.  * TCPSTART.CMD (initializes also X11)
  1632.  * * * * *
  1633.  
  1634.  @echo off
  1635.  echo CONFIGURING TCP/IP .....
  1636.  CALL C:\TCPIP\BIN\SETUP.CMD
  1637.  echo ..... FINISHED CONFIGURING TCP/IP
  1638.  echo STARTING THE TCP/IP PROCESSES .....
  1639.  rem start pmx -nocopyright -staticcolor -k 102
  1640.  CALL C:\TCPIP\BIN\XINIT.CMD -staticcolor -k 102
  1641.  echo     ..... X System Server Started
  1642.  rem call nfsstart
  1643.  rem echo     ..... Network File System Client Started
  1644.  echo ..... FINISHED STARTING THE TCP/IP PROCESSES
  1645.  echo .....  EXITING TCPSTART.CMD  .....
  1646.  
  1647.  
  1648.  * * * * *
  1649.  * SETUP.CMD (called by TCPSTART)
  1650.  * * * * *
  1651.  
  1652.  route -fh
  1653.  arp -f
  1654.  ifconfig lan0 129.142.64.205 netmask 255.255.0.0
  1655.  route add default 129.142.6.16 1
  1656.  
  1657.  
  1658.  
  1659.  ---------------------------------------------------
  1660.  (A2) Appendix II: Supplementary information on SLIP
  1661.  ---------------------------------------------------
  1662.  
  1663.  Rather than editing matter that I don't fully understand, I've included
  1664.  this dialog essentially verbatim.  It is Dave Bolen, author of a SLIP
  1665.  driver (alternative to IBM's own) replying to SLIP configuration
  1666.  questions from Don Lindbergh.  Dave Bolen's SLIP driver is presently
  1667.  still in the testing stage, but users reporting in the
  1668.  comp.os.os2.networking newsgroup are uniformly glowing in their reviews
  1669.  of it.
  1670.  
  1671.  At the time of writing, Bolen's slip driver can be had via anonymous
  1672.  FTP from ftp.ans.net in file /pub/misc/slip20a3.zoo.
  1673.  
  1674.  In any case, the following notes should give you a _lot_ of information
  1675.  about SLIP connections in general, as well as information that may be
  1676.  specific to Dave's drivers.
  1677.  
  1678.  
  1679.  >From: dabl2@nlm.nih.gov (Don A.B. Lindbergh)
  1680.  Date: Wed, 17 Feb 93 14:04:06 EST
  1681.  Message-Id: <9302171904.AA09472@nlm.nih.gov>
  1682.  X-To: dean2@bigbird.csd.scarolina.edu
  1683.  Subject: Re: TCP/IP, SLIP, Beat 2.1 Setup Questions (LONG)
  1684.  
  1685.  Ok, I'm sending you what Bolen sent me.  He has sent me two replies.
  1686.  The first is pretty much *it* as far as what you're probably interested
  1687.  in.  It is long and has diagrams :)  The second piece is an attempt at
  1688.  further clarification.  I also included the first piece of mail from a
  1689.  gentlemen trying to help me put the final piece in place, using
  1690.  ROUTED.  I basically haven't been able to get it to work (I think)
  1691.  because of:
  1692.  
  1693.  1. not much time
  1694.  2. incorrect syntax
  1695.  
  1696.  There will undoubtably be some more email from him, after which I
  1697.  predict the light will shine on me, the angles will sing, and I will
  1698.  actually have a full blow slip home system going......
  1699.  
  1700.  Oh, near the end of Bolen's first note is an 'off the cuff' 'untested'
  1701.  method of using 'arp -s' to 'publish' a network card to do routing.  I
  1702.  wasen't able to get this to work for me, it may be I'm doing something
  1703.  wrong.  I intend to at least confirm with him that this method *does*
  1704.  in fact work.  It seems I will be using either this method or ROUTED as
  1705.  getting a static route added for my SLIP subnet may be a hassle (Bolen
  1706.  talks about all this).
  1707.  
  1708.  So, truthfully, I'm not quite out of the woods yet, but I wanted to
  1709.  send you what he sent me, because it seems he has told me pretty much
  1710.  everything.  I figured it's better to send you more than you need
  1711.  rather than edit it down myself.  If you like, I'll forward what I get
  1712.  and wrap it up when I get it really working.  Your stuff was invaluable
  1713.  to me when I was trying to get tcp/ip going.
  1714.  
  1715.  --Don Lindbergh
  1716.  dabl2@lhc.nlm.nih.gov
  1717.  
  1718.  _______________________________________________________________________
  1719.  >From db3l@ans.net Mon Feb 15 16:41:48 1993
  1720.  To: dabl2@nlm.nih.gov (Don A.B. Lindbergh)
  1721.  
  1722.  >REQUEST FOR HELP, somewhat lengthy.....
  1723.  
  1724.  Well, let's see what we can do...
  1725.  
  1726.  Warning - your request may have been lengthy, but these answers get
  1727.  real long sometimes :-)
  1728.  
  1729.  >I'm really unclear on how to setup at home for SLIP.  I've read over
  1730.  >EVERY occurance of 'slip' in the TCPINFO doc's, I don't get it....
  1731.  
  1732.  Part of the difficulty explaining this sort of stuff is that if you get
  1733.  generic enough in your explanation to cover anyone's case, the
  1734.  explanation becomes vague enough to be less than helpful :-)
  1735.  
  1736.  For example - you don't give any actual IP addresses in your supplied
  1737.  office and home configurations, and yet it is likely the actual IP
  1738.  addresses (and routing between them) that is the problem.
  1739.  
  1740.  So - for these examples, I'll use some explicit IP addresses that we
  1741.  use here at ANS - hopefully, it will not be difficult to translate
  1742.  their use into your own addresses.
  1743.  
  1744.  Let's take the office machine.  In my case, it has two interfaces - an
  1745.  ethernet (lan0) and com1 (sl).  The important elements for packet flows
  1746.  are the addresses of the interfaces, and the routes that the machine
  1747.  has to specific hosts or networks.
  1748.  
  1749.  Let's say the office LAN is 147.225.10.x, and my machine has the
  1750.  address 147.225.10.18.  Thus, subnet 10 of network 147.225 (a class B
  1751.  network) is dedicated to the office ethernet.  There is a default
  1752.  router on the office lan, 147.225.10.1, that I should send packets to
  1753.  when I don't know where to send them.  The subnet mask for my LAN is
  1754.  255.255.255.0.  Also, I have a nameserver at 147.225.10.1.
  1755.  
  1756.  Now let's say that I choose subnet 11 for my SLIP connection.  You
  1757.  can't give hosts at the far end of the SLIP link an address in subnet
  1758.  10 since the rest of your LAN all think that subnet 10 hosts are
  1759.  directly connected to the ethernet itself.  (This isn't completely
  1760.  true, but it's tricky to work around, so let's say it is true for
  1761.  now).  It is possible, as your example showed, to have your office
  1762.  machine be 147.225.10.18 on both interfaces, but is often clearer if
  1763.  you give it an address in the same subnet as the far end of the link.
  1764.  Let's say in my case, I've made the office machine 147.225.11.1 on the
  1765.  sl interface, and my home machine is going to be 147.225.11.2.
  1766.  
  1767.  Thus, you end up with the following configuration:
  1768.  
  1769.                -+-
  1770.                 |
  1771.                 |      +----------------+              +--------------+
  1772.       LAN       |      | Office Machine |              | Home Machine |
  1773.                 |      | -- -- -- -- -- |  Phone Line  | -- -- -- --  |
  1774.                 |      |                | 147.225.11.x |              |
  1775.  147.225.10.x   +------| lan0        sl |--------------| sl           |
  1776.                 |  .18 |                | .1        .2 |              |
  1777.                 |      +----------------+              +--------------+
  1778.                 |
  1779.                -+-
  1780.  
  1781.  Now I don't think you've had a problem getting to this stage of
  1782.  everything, even though your addresses may be different.  The next big
  1783.  problem is getting packets to flow where you want.
  1784.  
  1785.  In this example, hosts on the 147.225.10 network don't have a problem
  1786.  talking to one another.  They all know that anything in 147.225.10
  1787.  should be on the LAN wire.  They also know a default router at
  1788.  147.225.10.1.  If I did a "netstat -r" on your office machine, I would
  1789.  find an entry like:
  1790.  
  1791.     Office with LAN:
  1792.  
  1793.          destination     router          intrf (interface)
  1794.  
  1795.          default         147.225.10.1    lan0
  1796.          147.225.10.0    147.225.10.18   lan0
  1797.  
  1798.  or in other words - packets heading to anything on 147.225.10 would go
  1799.  through my local interface to the LAN, lan0, while anything else also
  1800.  goes out over lan0, but it gets sent to the 147.225.10.1 host, which
  1801.  should know what to do with it.
  1802.  
  1803.  That's just the LAN.  Once you start SLIO and create the "sl"
  1804.  interface, and ifconfig the appropriate addresses, your routing table
  1805.  will look like the following:
  1806.  
  1807.     Office with LAN and SLIP:
  1808.  
  1809.          destination     router          intrf (interface)
  1810.  
  1811.          default         147.225.10.1    lan0
  1812.          147.225.10.0    147.225.10.18   lan0
  1813.          147.225.11.2    147.225.11.1    sl
  1814.  
  1815.  which is the same as before except that traffic for host 147.225.11.2
  1816.  will go over the serial interface.  If you use the same address for
  1817.  your office machine on lan0 as on sl, the above would be the same
  1818.  except the router field would show 10.18 in both the lan0 and sl cases.
  1819.  
  1820.  Now, to finish off the scenario, on your home machine all you did is
  1821.  configure the sl interface - nothing else is running.  That gives you
  1822.  a routing table like the following:
  1823.  
  1824.     Home with SLIP:
  1825.  
  1826.          destination     router          intrf (interface)
  1827.  
  1828.          147.225.11.1    147.225.11.2    sl
  1829.  
  1830.  
  1831.  Now, given the differences in IP address, I think that's the state
  1832.  you've been able to get to in your experiments.  Or, to add this
  1833.  routing information to my original picture, my hosts would look
  1834.  configured something like the following:
  1835.  
  1836.                -+-
  1837.                 |
  1838.                 |      +----------------+              +--------------+
  1839.       LAN       |      | Office Machine |              | Home Machine |
  1840.                 |      | -- -- -- -- -- |  Phone Line  | -- -- -- --  |
  1841.                 |      |                | 147.225.11.x |              |
  1842.  147.225.10.x   +------| lan0        sl |--------------| sl           |
  1843.                 |  .18 |                | .1        .2 |              |
  1844.                 |      +----------------+              +--------------+
  1845.                 |  <-- 147.225.10
  1846.                 |  <-- default
  1847.                 |            147.225.11.2 -->      <-- 147.225.11.1
  1848.                -+-
  1849.  
  1850.  
  1851.  Ok.  Presuming you're still with me :-)  Here's where you begin to run
  1852.  into problems.  As long as you are on your office machine, you'll be
  1853.  fine.  If you try to send packets to someone on the LAN, the route for
  1854.  147.225.10 will work and you'll find them.  If you try to send packets
  1855.  to your home machine, it will go out over the serial interface and find
  1856.  it.  If you send packets somewhere else, they'll go to the default
  1857.  router, which will get them there.  And, since your office machine is
  1858.  part of your LAN, packets will find their way back to you since the
  1859.  rest of the LAN (and outside networks) know how to reach your
  1860.  147.225.10 addresses.  Nameserver stuff will work fine too, since the
  1861.  nameservers are presumably on your LAN, so queries are just like other
  1862.  LAN traffic.
  1863.  
  1864.  The home machine has some problems however.  Once you get SLIP running
  1865.  there, you should be able to ping your office machine's address over
  1866.  the SLIP link.  In other words, in my example, a "ping 147.225.11.1"
  1867.  would work, and I could do things like FTP to the office machine.  But
  1868.  that's the only communication that works.
  1869.  
  1870.  The problem with other hosts is routing related.  For example, let's
  1871.  say that your home host tried to talk to the default router,
  1872.  147.225.10.1.  On your home machine you only know how to reach
  1873.  147.225.11.1, so when you use the 10.1 address, your home machine
  1874.  doesn't know how to get there.  That's where you get the "no route to
  1875.  host message".  It is telling you it doesn't know where to send
  1876.  packets for hosts other than 147.225.11.1.
  1877.  
  1878.  Now that's an easy one to fix.  Add a default route on your home box
  1879.  pointing to your office box.  Then, if you try to use an address that
  1880.  the home machine doesn't know about, it will still send it to the
  1881.  office machine.  The office machine will then either know about it (if
  1882.  it's part of 147.225.10, such as your nameserver), or it will forward
  1883.  it on to *its* default router, 147.225.10.1.
  1884.  
  1885.  This is only part of the problem, however.  That solves the outgoing
  1886.  packets from your home machine, but it doesn't fix the case of packets
  1887.  coming back in to your home machine.  For example, your home machine
  1888.  will now know how to send a packet to the nameserver that you use in
  1889.  your office, but the nameserver won't know how to send the packet back
  1890.  to the home machine.  The nameserver will know that 147.225.10
  1891.  addresses are on the LAN, but it won't know what to do with a
  1892.  147.225.11 address.
  1893.  
  1894.  There are a few ways to fix this.  What you really need to do is to
  1895.  get all the other hosts on your LAN to know that subnet 147.225.11 is
  1896.  routed through you, and that they should send packets to you for those
  1897.  addresses.  This is not normally practical, however, since a number of
  1898.  owners of hosts are involved.
  1899.  
  1900.  Another alternative is for everyone to run a routing daemon (such as
  1901.  the ROUTED that came with the TCP/IP package), which lets your
  1902.  machine announce to the other machines that it has the SLIP route, and
  1903.  then they know where to send the packages.  Again, this may not be
  1904.  reasonable as everyone may not want to or be able to run a routing daemon.
  1905.  
  1906.  Probably the easiest thing for you to do is to get whoever administers
  1907.  the default router to add a static route for your SLIP subnet to that
  1908.  router.  Then, since everyone else on the LAN defaults to that router,
  1909.  when it gets packets for your SLIP host it will forward them back to
  1910.  you.  Often, it will also issue a redirect to the hosts telling them
  1911.  where they should have really sent the packets.
  1912.  
  1913.  So to summarize - your problems are likely twofold.  One, that your
  1914.  home host doesn't know to default to the office host for stuff that it
  1915.  doesn't have an explicit route to.  And two, that the hosts on the LAN
  1916.  (or the outside world for that matter) don't know to use you to reach
  1917.  your home host.  You need to solve both of those routing problems
  1918.  before you can see packets flowing between your home host and any
  1919.  other IP attached host.
  1920.  
  1921.  In terms of the configurations you posted:
  1922.  
  1923.  >OFFICE MACHINE SETUP.CMD:
  1924.  >route -fh
  1925.  >arp -f
  1926.  >ifconfig lan0 myipaddress netmask 255.255.255.0
  1927.  >REM ifconfig lan1
  1928.  >REM ifconfig lan2
  1929.  >REM ifconfig lan3
  1930.  >start slio.exe
  1931.  >sliowait
  1932.  >ifconfig sl myipaddress otherpcaddress
  1933.  >route add default myrouter 1
  1934.  
  1935.  This should be fine.  In general, I don't expect your office machine
  1936.  would have any problems.  It's the one machine in this whole
  1937.  configuration that knows just what is going on, and how to reach
  1938.  everyone it needs to reach.
  1939.  
  1940.  >HOME MACHINE SETUP.CMD:
  1941.  >route -fh
  1942.  >arp -f
  1943.  >REM ifconfig lan0 myipaddress officeipaddress netmask 255.255.255.0
  1944.  >REM ifconfig lan1
  1945.  >REM ifconfig lan2
  1946.  >REM ifconfig lan3
  1947.  >start slio.exe
  1948.  >sliowait
  1949.  >ifconfig sl myipaddress officeipaddress
  1950.  
  1951.  This is fine.
  1952.  
  1953.  >route add host officeipaddress officerouter
  1954.  
  1955.  You don't need this.  ifconfig'ing sl will automatically add this
  1956.  route to your routing tables.  What you do need is a statement:
  1957.  
  1958.          route add default officeipaddress 1
  1959.  
  1960.  to let the home host pass all other packets through to the office as
  1961.  well.
  1962.  
  1963.  And you need the office machines (or default router) to know about
  1964.  your home address too.
  1965.  
  1966.  If this sounds convoluted, it's because it's a lot harder to write
  1967.  about and explain than just to do - at least I find it that way.
  1968.  
  1969.  If you've stuck with me this far, I'll also throw in a way you can
  1970.  cheat with your SLIP address and make the rest of your office LAN
  1971.  think your home machine is right on the LAN - thus avoiding the need
  1972.  to tell them about routing or get your default router to change.
  1973.  
  1974.  Some of this is off the cuff - I don't think I've done this explicitly
  1975.  myself yet, although it should work fine.
  1976.  
  1977.  What you do first is get another LAN address for your home SLIP machine
  1978.  - in my case, let's say it was 147.225.10.19.  You then configure
  1979.  everyone just as before, including the default route on your home SLIP
  1980.  machine.  You end up with the following:
  1981.  
  1982.  
  1983.     Office with LAN and SLIP:
  1984.  
  1985.          destination     router          intrf (interface)
  1986.  
  1987.          default         147.225.10.1    lan0
  1988.          147.225.10.0    147.225.10.18   lan0
  1989.          147.225.10.19   147.225.10.18   sl
  1990.  
  1991.  
  1992.     Home with SLIP:
  1993.  
  1994.          destination     router          intrf (interface)
  1995.  
  1996.          default         147.225.10.18   sl
  1997.          147.225.10.18   147.225.10.19   sl
  1998.  
  1999.  
  2000.  For your office machine, any packets to host 147.225.10.19 (your home
  2001.  host) will go over the serial line.  All other packets for 147.225.10
  2002.  hosts will go over the LAN interface.  And anything else will be put
  2003.  over the LAN interface to the default router also on the LAN.
  2004.  
  2005.  For your home machine, packets to your office machine will go over the
  2006.  serial interface, and packets to anything else will first be passed to
  2007.  your office machine (over the serial interface) for handling.
  2008.  
  2009.  Now the only rub is getting machines on the LAN to talk back to your
  2010.  home machine.  The problem is that those machines will think (since it
  2011.  has a 147.225.10 address) that your home machine is directly connected
  2012.  to the LAN.
  2013.  
  2014.  What happens on the LAN is that other machines issue ARP (Address
  2015.  Resolution Protocol) requests to translate an address (147.225.10.19
  2016.  in this case) into a hardware level address (such as a token ring or
  2017.  ethernet adapter address).  Packets are then sent over the LAN to that
  2018.  hardware address.  For most machines, they answer for their own
  2019.  address, and give their hardware address.  Obviously, your home
  2020.  machine can't do that in this case since it isn't attached directly to
  2021.  the LAN.
  2022.  
  2023.  So what you do is tell your office machine to answer for your home
  2024.  machine.  You use the "arp" command to "publish" a permanent arp entry
  2025.  for your home machine.  The entry will use your office machine's
  2026.  hardware address as the arp answer.  Then, other machines in the
  2027.  office will use your office machine's hardware address on the LAN when
  2028.  sending packets to your home machine - so the packets will end up on
  2029.  the office machine.  The office machine will look at the actual IP
  2030.  address and recognize that it should go down the serial link to the
  2031.  home machine.  This entire process is called "Proxy ARPing", and is
  2032.  often supplied as an automatic process in SLIP servers or routers -
  2033.  we'd just be doing it in a more manual fashion.
  2034.  
  2035.  To set up the arp entry, you need to figure out your hardware address.
  2036.  You can either do this by looking at the LANTRAN.LOG file in your LAPS
  2037.  directory (normally C:\IBMCOM).  It should have a line like:
  2038.          "Adapter 0 is using node address 10005A82501A    (...)"
  2039.  
  2040.  Or, check someone else's machine that has recently exchanged traffic
  2041.  with you and do an "arp -a" and look for your address as in:
  2042.  
  2043.          hardware address        IP address
  2044.          10005A82501A            147.225.10.18
  2045.  
  2046.  In either event, you want to know your 12-digit hexadecimal hardware
  2047.  address.  Once you know that, you can stuff an entry for your home
  2048.  machine in your arp table with the command:
  2049.  
  2050.          arp -s 147.225.10.19 10:00:5A:82:50:1A pub
  2051.  
  2052.  which will permanently "publish" an arp entry for your home machine.
  2053.  >From now on, other machines on the LAN will think that your home
  2054.  machine is right on the ethernet (or token ring) itself, although your
  2055.  office machine will actually be routing packets through the serial
  2056.  link to the home machine.
  2057.  
  2058.  Note that if you are on a token ring, you need to use a bitwise
  2059.  reversed address (shown in the LANTRAN.LOG file as the token ring
  2060.  format on the same line as the adapter node address).
  2061.  
  2062.  I think that's about it.  Like I said - it's more complicated to
  2063.  explain than it really is.  I hope this helps more than it confuses.
  2064.  I'd suggest also trying to find a local support person at your site
  2065.  that may be able to help out with the routing issues.  Or, if you have
  2066.  some sort of central SLIP server facility, it will probably be easier
  2067.  to make use of that, as the routing issues will most likely have
  2068.  already been addressed for that server.
  2069.  
  2070.  -- David
  2071.  
  2072.  /-----------------------------------------------------------------------\
  2073.   \              David Bolen             \  Internet: db3l@ans.net      /
  2074.    |   Advanced Network & Services, Inc.   \   Phone: (914) 789-5327   |
  2075.   / 100 Clearbrook Road, Elmsford, NY 10523  \   Fax: (914) 789-5310    \
  2076.  \-----------------------------------------------------------------------/
  2077.  
  2078.  >From db3l@ans.net Tue Feb 16 18:37:53 1993
  2079.  To: dabl2@nlm.nih.gov (Don A.B. Lindbergh)
  2080.  Subject: Re: TCP/IP, SLIP, Beat 2.1 Setup Questions (LONG)
  2081.  
  2082.  Don,
  2083.  
  2084.  >                                        I had no idea that the slip
  2085.  > connection ip addresses should have a different subnet than the 'real'
  2086.  > lan ip addresses.
  2087.  
  2088.  Yeah - the problem is that while you can get it partially working
  2089.  without using a different subnet, you really need the separate subnet
  2090.  for proper operation (barring proxy arp solutions).  The reasons for
  2091.  this are rooted in the fundamentals of how IP routing is handled,
  2092.  which can be daunting topic for those new to IP networking (or even
  2093.  old hands :-)).  Couple this with the fact that most IP office users
  2094.  don't necessarily know the subnetting and routing scheme in place at
  2095.  their site, and it becomes even more fun.
  2096.  
  2097.  (At the risk of repeating info from my previous message)
  2098.  
  2099.  I think it starts to become more understandable - and explainable - if
  2100.  you make believe you are a machine on your LAN.  Let's say I'm on your
  2101.  LAN as address 138.68.31.50.  My machine has a routing table telling
  2102.  me where to send packets for particular destinations, as:
  2103.  
  2104.     destination 134.68.31.0 gateway 134.68.31.50
  2105.          (anything on 134.68.31 goes out onto my local LAN
  2106.           via my LAN interface, and gets my LAN address on it
  2107.           as the source address)
  2108.     destination default gateway 134.68.31.103
  2109.          (anything else goes to the specified gateway.  To reach
  2110.           that gateway, I use my previous route to reach the LAN)
  2111.  
  2112.  Now I'm in good shape - I know how to reach machines on the LAN, and
  2113.  those off your LAN.  Now say that friendly Don - you - down the hall
  2114.  (with his machine 134.68.31.25) add a SLIP link, and gives your home
  2115.  machine address 134.68.31.26.  You sets things up so that if you type
  2116.  "ping 134.68.31.50" from home, the packets reach my machine in the
  2117.  office.  So far so good - the problem is where do I send the answer?
  2118.  I need to reach 134.68.31.26, which according to my routing table is
  2119.  right on my LAN.  I therefore try to send it right over the LAN, but
  2120.  there's no machine there with that address.
  2121.  
  2122.  Now I personally can fix that problem by adding a specific (static)
  2123.  route to my machine that says:
  2124.          destination 134.68.31.26 gateway 134.68.31.25
  2125.  which says that if I need to reach the specific machine 31.26, I send
  2126.  it to your office machine.  Anything else in 134.68.31 follows the old
  2127.  rule and goes directly to the LAN.  Now I can communicate with
  2128.  everyone including your home machine.  Of course, this solution
  2129.  doesn't scale well, and it doesn't help you from home since you have
  2130.  to get everyone else (or at least the default gateway) to add the
  2131.  route.  Thus the rest of my previous note :-)
  2132.  
  2133.  >                                   He says getting something like a
  2134.  > static route added to our subnet requires calling someone else, which
  2135.  > is not a huge problem, but if we did this, hopefully we could add this
  2136.  > slip subnet ONCE and that one addition would work for all our group
  2137.  > who want to use slip.  I would like to try your suggestions about
  2138.  > permanently publishing an arp entry first I think.....
  2139.  
  2140.  Having a dedicated SLIP subnet and a primary SLIP router is in fact
  2141.  the way many sites (including ours) handles the issue.  For single
  2142.  SLIP connections into individual office machines a proxy arp solution
  2143.  may be the simplest and most effective - although it does require
  2144.  manual configuration - and you still have to get yourself allocated an
  2145.  extra address in the LAN subnet.
  2146.  
  2147.  > Some further comments and questions....
  2148.  
  2149.  Ok.
  2150.  
  2151.  > I know, I questioned the wisdom of publicly posting all my ip
  2152.  > addresses, on the other hand, who really cares and what if they did
  2153.  > right?  I've at least got password entry's for telnet and ftp....
  2154.  
  2155.  Actually, that's a pretty prudent idea, and not so strange, especially
  2156.  when posting to such a large list.  I don't have much of a problem
  2157.  myself as the addresses I've used are protected by a security
  2158.  firewall, so external hosts can't reach those subnets of 147.225 anyway.
  2159.  
  2160.  Since your address is in fact exposed to the outside world, it's not
  2161.  unreasonable to avoid publishing it in such a wide forum.
  2162.  
  2163.  > I tried this briefly last night, but apparently it's a whole other
  2164.  > lesson to get this damned thing to work.  I don't really understand
  2165.  > *who* these manuals are written for.....
  2166.  
  2167.  You'd be surprised - the IBM stuff really isn't all that bad when you
  2168.  see what else is out there.  Of course, routing daemons are in fact
  2169.  another whole world of information, of which ROUTED is one of the
  2170.  simplest daemons.  I could start another whole book on handling
  2171.  routing daemon issues, but since it's unlikely your entire LAN will
  2172.  start listening to RIP broadcasts, I think I'd just bypass this option
  2173.  for now.  Even if you do run ROUTED and config everything right, it
  2174.  only fixes things for people who are also listening for the
  2175.  information that you are then broadcasting.
  2176.  
  2177.  > As per my comments earlier, is this something we can do once and will
  2178.  > then work for a number of people? ie if we pick subnet 41 for slip,
  2179.  > then programmers using slip will be
  2180.  >
  2181.  > 134.68.41.1
  2182.  >          .2
  2183.  >          .3 etc?
  2184.  
  2185.  It depends on how you are servicing the SLIP connections.  As long as
  2186.  there is a single host that is responsible for all of the SLIP users,
  2187.  then yes - this will work fine.  For example, here at ANS, we use
  2188.  subnet 2 for SLIP - all SLIP users get 147.225.2.x addresses.  Our
  2189.  primary machines have a static route for 147.225.2.0 into our Annex
  2190.  terminal server (that handles the SLIP users) at 147.225.10.40.
  2191.  
  2192.  If however, each user is going to handle his or her own SLIP
  2193.  connection into an office machine, it gets a little tricker.  Given
  2194.  that changing a centrally administered host is probably harder, what I
  2195.  would suggest is telling those responsible for the site router to send
  2196.  all SLIP (134.68.41.x) traffic to one particular host - pick someone's
  2197.  office machine, or some central machine that you manage.  Then, as
  2198.  individual programmers set up SLIP links to a new machine, add a
  2199.  static route to the machine you manage for that SLIP link.  Then,
  2200.  traffic from LAN or external hosts heading for SLIP home users will
  2201.  first go to the central machine you manage, which will then forward it
  2202.  on to the appropriate office machine handling the link.  This will
  2203.  represent an additional hop, but for the amount of traffic generated
  2204.  by SLIP it won't be much.
  2205.  
  2206.  Also depending on the central machine of yours, it can send a redirect
  2207.  message to the site router, telling it the real machine to send the
  2208.  SLIP traffic to.  So it can "learn" to avoid the extra hop.  I'm
  2209.  pretty sure that OS/2 (and most Unix platforms) send a redirect by
  2210.  default, but don't hold me to that.
  2211.  
  2212.  > Ah, here's where it gets fun, this would be a good hack......
  2213.  > I'll try this and let you know.  By the way, I keep hearing about your
  2214.  > super nifty alternate slip drivers, should I try those?  Dave are you
  2215.  > holdin' out on me?  :)  One guy said I could find them at ftp.ans.net
  2216.  
  2217.  Well, yes, I do have "super nifty alternate slip drivers" :-) I wasn't
  2218.  really holding out on you - getting my drivers wouldn't have solved
  2219.  your problem as it was routing and addressing related.  Also, my
  2220.  driver is technically alpha code so I don't generally recommend it to
  2221.  just anyone yet.  Of course, it's alpha mostly because I'm too
  2222.  backlogged to do the final cleanup and call it beta, so it's actually
  2223.  quite stable at this point.
  2224.  
  2225.  If you're interested - you can anonymously ftp the driver from
  2226.  ftp.ans.net in the file /pub/misc/slip20a3.zoo.  This has the driver,
  2227.  several utilities, and a readme that should get you up and running.
  2228.  My driver both performs better than the standard IBM driver (better
  2229.  performance while using less CPU) as well as including support for
  2230.  header compression and priority queueing.  This yields better
  2231.  interactive performance over a SLIP link.
  2232.  
  2233.  The driver does require OS/2 2.0, and TCP/IP 1.2.1 at least at CSD
  2234.  level 2252.  (You can always get the latest CSD from ftp-os2 if you
  2235.  have an earlier version of TCP/IP - check SYSLEVEL)
  2236.  
  2237.  =====================================
  2238.  the below is today's first installment from a gent attempting to help me put
  2239.  the final piece in place.... ROUTED
  2240.  ======================================
  2241.  
  2242.  >From jardined@qucis.queensu.ca Wed Feb 17 13:12:00 1993
  2243.  To: dabl2@nlm.nih.gov
  2244.  Subject: Re: TCP/IP, SLIP, Beat 2.1 Setup Questions (LONG)
  2245.  
  2246.  I was going to suggest Bolen's stuff.  He is _most_ knowledgeable.
  2247.  
  2248.  The secret appears to be as follows:
  2249.  
  2250.  The ifconfig statement _must_ have your home ip address and the office
  2251.  (slip) machine ip address.  Use a netmask of 255.255.255.0 make sure
  2252.  you set the mtu in ifconfig (and in slip.cfg if you use Bolen's
  2253.  driver).
  2254.  
  2255.  Now: in order to get at any other machine on your office net, you must
  2256.  tell your home machine where on the office LAN is the nameserver.  You
  2257.  use the OS2 ROUTE command to do this.  What you do in it is to a) clear
  2258.  the previous entiries (-fh flag), then b) set up as 'default' the ip
  2259.  address of the name server on your office LAN  This means that when at
  2260.  the OS2 end you mention a machine on your office lan athat is other
  2261.  than the machine to which you are directly connected via slip, the
  2262.  request will be routed by your office PC to that name server, which
  2263.  will do the address resolution.  The test for connection is to use the
  2264.  'ping' command at your home end.
  2265.  
  2266.  If you default route to the nameserver, you should be able to ping any
  2267.  machine on the internet.  I tested it by pinging local machines here,
  2268.  and then finally hobbes.  It replied!
  2269.  
  2270.  I'm at the office so I don;t have access to my rexx scripts.  If you
  2271.  are still having problemsa, I'll send them to you.
  2272.  
  2273.  I agree the manuals are ghastly.  Luckily I have a bunch of Unix TCPIP
  2274.  experts here to help me, (we have 4 dept. lans with about 100 Sun
  2275.  workstations, 4 file servers, 3 compute servers etc. etc. here)  but
  2276.  even they took a while to figure it out.  I asked, but there is no good
  2277.  book on TCPIP or X11.  You learn it by recursively reading assorted
  2278.  ill-written documents, and asking someone who knows. I've been around
  2279.  long enough to have used IBM manuals back in the '50s and '60s, so I'm
  2280.  resigned to this situation :-)
  2281.  
  2282.  Prof. Donald Jardine, Software Technology Laboratory, Comp. Sci. Dept.,
  2283.  Queen's Univ. Kingston Ont. Ph (613) 545 6070 Fax (613) 545 6513
  2284.  
  2285.  
  2286.  ------------------------------------
  2287.  (A3) Appendix III: Setting up LaMail
  2288.  ------------------------------------
  2289.  
  2290.  This is a product that I don't use, but rwalker@rwalker.doa.lastat.gov
  2291.  kindly sent me a document that he prepared for his users there.  I've
  2292.  excerpted and edited from that.  Hence I am definitely to blame for
  2293.  errors of omission and comission in the following suggestions...
  2294.  
  2295.  1.   Installation:  You will want to check off "Sendmail" and "LaMail"
  2296.  in the ICAT "Automatic Starting of Services" setup section (see (5)
  2297.  section 4. above).
  2298.  
  2299.  2.  Customize your LaMail configuration: In the LaMail screen, select
  2300.  Options/Set Note Options, then:
  2301.  
  2302.      Personal Options
  2303.          1. Your login or userid (e.g. dean)
  2304.          2. Your hostname (e.g. fiddler.biol.scarolina.edu)
  2305.      Note Header
  2306.          1. Check "Add Subject Line"
  2307.          2. Recommend checking "Long Address Format"
  2308.      Note Options
  2309.          1. Signature file: You can create a plain-text file that
  2310.             contains some address information about yourself.  It will
  2311.             be automatically appended to your outgoing mail.  For an
  2312.             example, see the three lines at the end of section (0) of
  2313.             this document (that's my .signature file contents).  At this
  2314.             point, enter the name of the plain-text file that holds your
  2315.             signature information.
  2316.  
  2317.  3.  Send some test mail: Send some mail to someone who's email address
  2318.  you are sure will work.  Ask them to send you a reply.  It may be
  2319.  helpful if you are in adjoining offices so you can ask each other if it
  2320.  worked...
  2321.  
  2322.  4.  Delivery notification: There's no such thing as registered mail
  2323.  with SMTP (the mail services that Internet mail uses).  But sometimes
  2324.  if mail cannot be sent to the recipient, LaMail will pop-up with the
  2325.  rejected mail item.
  2326.  
  2327.  5.  Note editor:  The LaMail editor is built upon the OS/2 Enhanced
  2328.  Editor (EPM).  Most users would be more familiar with the OS/2 System
  2329.  Editor.  To configure the LaMail editor to resemble the System Editor
  2330.  more closely do the following while editing a note:
  2331.  
  2332.      Select: Options/Preferences:
  2333.          Deselect: Advanced Marking
  2334.          Select:   Stream Editing
  2335.      Select: Options/Save
  2336.  
  2337.  6.  How to forward a note:  While you are reading/editing a note (i.e.
  2338.  the box title begins "Note") hit Ctrl-I.  In the command dialog box,
  2339.  either click on an existing command in the top half (if there are any
  2340.  shown) or type a forward command in the lower half (e.g.  FORWARD
  2341.  dean2@tbone.biol.scarolina.edu).  Edit the command in the bottom half
  2342.  and then select OK.  This will bring up a standard LaMail Create Note
  2343.  menu with the forwarded note included.  Edit the subject and other
  2344.  header lines as usual and select Send to actually forward the mail.
  2345.  LaMail will keep a copy of the command in its history file for the next
  2346.  time you select the command option.
  2347.  
  2348.  7.  Spelling check:  To check the spelling of an outgoing note, select
  2349.  the Options/Proof menu item.  Note that the spelling checker appears to
  2350.  have some bugs.  Sometimes it gets confused and flags even common words
  2351.  (e.g. "is").  At other times, it appears to just hang.  You may want to
  2352.  verify the location of the following LaMail files by choosing the
  2353.  Options/Preferences/Settings/Paths menu:
  2354.  
  2355.      US dictionary (normally \tcpip\bin\us.dct)
  2356.      Personal dictionary
  2357.  
  2358.  8.  Folders:  At installation, the ALL folder is the default folder for
  2359.  notes.  A copy of your outgoing mail is automatically stored in the
  2360.  default folder.  You can create multiple folders (e.g., and OUT folder
  2361.  or organize folders by subject).  You can also associate folders with
  2362.  individuals in your NICKNAME.NAM file.  Within each folder, the
  2363.  appearance of mail items can be customized (color and order of fields,
  2364.  etc.).  Each folder can have a distinct icon associated with it.
  2365.  Create the icons using the OS/2 icon editor and save them in
  2366.  \tcpip\lamail as xxxxxx.ICO where xxxxxx is the name of the folder that
  2367.  you want associated with the icon.
  2368.  
  2369.  9.  Sendmail:  Sendmail is the background process to LaMail that
  2370.  actually sends and receives SMTP messages.  This normally should be
  2371.  running all the time, although it can (and probably should) be
  2372.  minimized on the screen.  In general, there is nothing you can do in
  2373.  this session.  If you need to shut sendmail down, you can terminate it
  2374.  by switching to that session and hitting Ctrl-C.  This will bring you
  2375.  back to the OS/2 command prompt where you  can type EXIT to close the
  2376.  session.
  2377.  
  2378.  10. Join some mailing lists:  The Internet has hundreds of mailing
  2379.  lists on every conceivable topic.  Good ones include ietf-announce (for
  2380.  Internet Task Force announcements), the OS/2 mailing lists, new-list (a
  2381.  mailing list that announces new mailing lists!), and many other
  2382.  computer and non-computer-specific lists.  The Internet master list of
  2383.  mailing lists can be retrieved via anonymous FTP from ftp.nisc.sri.com
  2384.  as netinfo/interest-groups.  Because this is such a large file (over
  2385.  one million bytes uncompressed), it should be retrieved only on an
  2386.  exception basis.  Do NOT print the mailing list index.
  2387.  
  2388.  11. Be sure to include your Internet mailing address on your
  2389.  correspondence and business cards.  Because many recipients may not be
  2390.  entirely familiar with internetwork addressing, and may have accounts
  2391.  on alternate services (MCI, Genie, etc.), make sure to be explicit.
  2392.  Tell them that it is an Internet address and be sure to give your
  2393.  entire address.  For example, I'd give the following information:
  2394.  
  2395.      Internet: dean2@tbone.biol.scarolina.edu
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  --
  2401.  N. Dean Pentcheff
  2402.  Biological Sciences, Univ. of South Carolina, Columbia SC 29208 (803-777-8998)
  2403.  Internet addresses: pentcheff@pascal.acm.org or dean2@tbone.biol.scarolina.edu
  2404.  Getting started with OS/2 networking using IBM's TCP/IP software